You are here: Re: [PHP] Speed « PHP « IT news, forums, messages
Re: [PHP] Speed

Posted by Philip Hallstrom on 01/11/06 10:04

> Assume that I save data about an object and it has 10.000 observations of
> the object stored in a MySQL database. I want calculate the average value of
> a column, is it faster done by using PHP on the result array or using the
> MySQL function to do that?

MySQL.

You don't have to transfer all 10,000 records to PHP for one thing.

-philip

 

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

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