At 08:40 AM 8/14/2002, you wrote:
>I am running a website which generates around 100,000 pageviews a day and I
>am wondering if I stop using persistent conections to the MySQL database and
>use
>normal open and close conections this would reduce the load onto my server?
>
>Most conections are either made through my "main" file or the phorum message
>board system.
>
>Thanks in advance
>John Wards
John,
I profiled my PHP app with a debugger and discovered connecting to
MySQL 4.x with persistent connections actually took 50% longer than
non-persistent connections. (It added an extra 80ms to connect). So I don't
see why persistent connections is useful at all with MySQL.
Mike
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php