There is a MySQL limitation due to how it returns paginated records. In fact, MySQL has to return the entire table before it does pagination using LIMIT. As you can tell, it’s a lot of overhead and can cause datagrid to render slow.
phpGrid is optimized to handle large data set up to one million records. Beyond one million records, it is highly recommend to use filter in your sql query. It can resolved by applying WHERE clause to the original SQL query, so that the data is filtered BEFORE and only the paginated rows are returned to phpGrid for display.
For large table with 1,000,000+ records, we recommend adding a sequence number column that tracks the actually paginated row beginning and ending number.
seq > 100 And seq < 200
Some excellent posts/articles on this issue:
Using “late row lookup”
We don’t support those out of box. It requires Enterprise and up license because it requires source code modification since each user may have different implementation. We will provide consulting on the subject as we did with a number of clients.