Performance issues in split PHP/MySQL installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We are using PHP 5, Apache 1.3.x and MySQL on Windows.
Everything used to be on one server and the site seemed to work well.

For business reason we had to movethe MySQL database to another Windows
machine near-by. Since the move the  time it takes to fetch a page
increased considerably.

As a first try I replaced the mysql_connect calls by mysql_pconnect.
It does not seem to make a difference.


So while I try to setup some bechmarking printouts I'd appreciate some
ideas how to find the problem and how to improve speed.

regards
   Gabor


ps.
If I understand correctly on Windows there is only one Apache process,
and the thread created to serve the page is recycled immediately.
Based on this you cannot actually have persistent database connections
using Apache on Windows. Please correct me if I am mistaken.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux