Re: Pager reccommended max number of records

From: Date: Tue, 14 Mar 2006 18:42:15 +0000
Subject: Re: Pager reccommended max number of records
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23294@lists.php.net to get a copy of this message
On 3/14/06, Mark Steudel <mark@netriver.net> wrote: > So I really love pager and how easy it is to use, etc. But some of the > comments on this list make me worry about using it in situations where there > are lots of records. So I was wondering in your experiences (This is > probably dependant on ram) what is the max number of records you'd want to > let Pager handle? Hundreds of thousands, millions, tens of millions? > Just don't use it in "put all of your data into the Pager" mode. You have to be smart about it. Use the option to tell it the max # of objects and use the page as an offset to your query. See how Structures_DataGrid handles this. -- Justin Patrin

« previous php.pear.general (#23294) next »