Reply to Re: Improving speed

Your name:

Reply:


Posted by J2be on 03/29/06 13:44

"strawberry" <zac.carey@gmail.com> wrote in message
news:1143462615.500455.201670@t31g2000cwb.googlegroups.com...
>I have a question about improving page rendering speed.
>
> For instance, according to mysql the following query takes a mere 0.28
> secs:
>
> SELECT * FROM table1
> ORDER BY field1;
>
> 924 rows in set...

Specify the columns and avoid the use of *.
Use LIMIT and use the paging for the results.
Cache the results when the data is updated
(except if you update the records in the db each minute)
and send the cached results to the client.

Regards.


--
Leonardo Armando Iarrusso - J2Be
www: http://www.J2be.com - e-mail: info[at]J2Be.com

[Back to original 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

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