Datatables very slow
Datatables very slow
Hi Allan.
I've already searched the forum for solutions, but unfortunately could not find anything suitable.
For a table, the display takes to be about 10 seconds to display all data records. There are 769 records in the database.
I can not deliver a debug, because the browser 4 times a timeout signals and the data is not stored on your server (loop).
Unfortunately I can not allow access because it is real data in a password-protected system.
Why is the query so slow?
Where can I optimize access?
Rappi
This question has an accepted answers - jump to answer
Answers
Here my JS Part 1
Part 3
and the PHP script
Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.
Information on how to create a test page, if you can't provide a link to your own page can be found here.
My guess is that there are columns in your database that should be indexed.
Thanks,
Allan
Hi Allan.
Thanks for your fast answer.
The trouble only occurs with more than 700 records. And I can not publish because they are subject to data protection.
A debug, as already written, is not possible because the data can not be sent to your server. The browser crashes when I make a debug!
Helps a debug of an installation with less data from another installation?
Rappi
I'm primarily interested to profile the page to know where the slow down is coming from. Is the majority of the time the Ajax loading for the data for example? If so, then it is the database / server that needs to changed to improve performance (as I say, possibly by adding an index).
Allan