I need to load a lot of data fetched from a mysql db in my webGL page. The approach I found is this: http://www.w3schools.com/php/php_ajax_database.asp
although the idea of a first fetching with PHP and then passing it to the webGL page isn’t exciting, any alternative?
It is not very clear what you are trying to do, but if what you want is to display data to the user and you have too much data, than you should use paging/pagination.
This is the process roughly:
for example: