You are here: Re: displaying thousands and thousands of records via PHP/HTML « PHP Programming Language « IT news, forums, messages
Re: displaying thousands and thousands of records via PHP/HTML

Posted by Chung Leong on 03/14/06 04:22

comp.lang.php wrote:
> I have currently devised a way to display up to 3,000 records via
> PHP/HTML by using pagination techniques that stuff an entire DB query
> resultset into a $_SESSION object to use within pagination.

You know, that's not very efficient. PHP always write session variables
to disk, even when there are no changes. Your server will end up doing
a lot of unnecessary disk writes. Given that a write operation always
lead to mechanical actions while a read operation can be fully cached,
I say you'd be better off re-running the query on each page.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация