Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Improve] Load Grid Data Performance
#1
Hello,

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.

Attention:
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.


Attached Files
.zip   application_20160424.zip (Size: 10.73 KB / Downloads: 10)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)