php - Pagination for huge data records -


need or advice pagination huge records.

i have 400,000 records, while doing pagination every time it's going db , getting set records based on limit set.

we tried adding records session(which not options)after 60thousand records session values not getting stored.

need know other methods can in pagination huge data records.

can use sphinx/memcache this?

so issue? database queries supposed hitting database. there performance problem? can remedied proper indexes. 400k isn't huge dataset if limiting 10-20 results.

explain see sql server doing.

if pagination refreshing page, want implement ajax more seemless ux.

you can use both sphinx or memcached. memcached easier implement beucase can search cache first before hitting db. think query/db tuning can go long way.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -