|
Posted by Rik on 04/29/06 00:44
Ridge Burner wrote:
> Right now we are experiencing issues with MySQL being able to keep up
> The first SQL statement is used for ad
> banners, and our hoster has mentioned that this is not the most
> efficient way to do what were doing.
See my other post. Ν thought it was just an hypothetical(?) situation. For
this specific problem you can simply test yourself: create the table on your
local server, and test with for($i=1;$i<$number;$i++) where $number is an
arbitrary high number.
Note: this is the time the script takes, not neccesarily how long MySQL
takes. If it's just a case about MySQL which is to busy, and PHP has no
problem keeping up, it's a simple choice to choose to do more processing in
PHP.
Then again, I'm no server admin. Maybe someone else with more experience can
shed more light on the subject of processing by MySQL and PHP on production
servers.
(?)pfff, english, I hope it's the correct word and spelling)
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|