[Improve] Load Grid Data Performance - Printable Version

+- Forums (
+-- Forum: General (
+--- Forum: Appcore Updates, Patchs, and Bugfixes (
+--- Thread: [Improve] Load Grid Data Performance (/showthread.php?tid=59)

[Improve] Load Grid Data Performance - seegithub - 04-23-2016


This time we want to update the performance issue related data load on the grid if the data has reached 1 million rows or more, please update 2 core files contained in the folder application/core/, ie MY_Controller and MY_Model.

If there are any of you who do override the method front() on controller, then note the following:
1. find the following line of code:
PHP Code:
$v->totalRow    count($this->search($opts)); 

then replace with
PHP Code:
$v->totalRow    $this->_count($opts); 

copy and overwrite the files that we've included in this thread to a folder application /core/ directory on your application. Do not forget to backup the files on your application

See u.