Yii Framework Forum: Problem With Pagination - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem With Pagination Rate Topic: -----

#1 User is offline   LucasSartori 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 03-July 13

Posted 28 April 2014 - 04:09 PM

Hello!

I have a CListView, and for it is passed a CActiveDataProvider that received data from a table that have more than 3.000.000 lines ..
But when I try to load the view, this takes more than 1 minute, even if I put pageSize of 1.

I try to load the table using limit by findAllBySql, and takes just 0.5 seconds to load, someone can help me with this?
0

#2 User is offline   chandran 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 488
  • Joined: 08-October 12
  • Location:Austria

Posted 06 May 2014 - 08:36 AM

Hi,
Try with pagination concept.. may be it can work
Thanks
chandran nepolean

My own extension:
http://www.yiiframew...sion/ejqueryte/

My wiki
http://www.yiiframew...checkboxcolumn/

If it work dont hesitate to click +1 button
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users