Re: MySQL Speed
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
.
Relevant Pages
- Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ... (comp.lang.php) - Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ... (comp.lang.php) - Re: com_dotnet
... And if MySQL isn't installed, the DLL won't load and phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows binaries - or you'd never be able to run PHP unless you had MySQL installed. ... *SOME* extensions are protocols, some are functional resources, and some are just type libraries. ... If you're going to compile the extension into PHP itself, the libraries must be available at compile time, and when you run PHP, or PHP won't load. ... (comp.lang.php) - Re Re: PHP 5.2.4 <= various mysql functions safemode & open_basedir bypass
... > various mysql functions safemode & open_basedir bypass ... PHP is currently very used because it's easy to use. ... Apache has directory restrictions. ... # if the mysql user has perms, ... (Bugtraq) - Re: question about playlist
... I have a dynamic playlist, playlist_1.asx, created by a php script from a ... the mysql table contain information about: ... movie near to the playing movie, and when change the movie, contextually ... Change the information in the *database* table, or in the HTML table? ... (microsoft.public.windowsmedia.server) |
|