RE: [PHP-WIN] MySql pconnect
| From: | James Moore | Date: | Sun, 15 Apr 2001 10:07:39 +0000 |
| Subject: | RE: [PHP-WIN] MySql pconnect | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6739@lists.php.net to get a copy of this message | ||
>
> For connect vs. pconnect, the instances where you should use pconnect are
> really rare.
>
> When in doubt, use connect. If you know of a specifically good
> reason to use
> it, then feel free.
>
> But I personally have never had a situation where pconnect worked better
> than connect.
pconnect is better to use IMHO on any site with a decent amount of hits as
youll get better performance due to the lack of the overhead of making a new
connection every time a page is called. I would totally disagree with you
here plutarck pconnect is there to make things quicker which it does by
keeping the connection open between page requests.
> And as for extended server status, I haven't a clue about it :)
Never looked into it really.. probably not worth it.. try asking on the
php-db list.
-James
--
James Moore
jmoore@php.net
http://www.perl.com/search/index.php - we must be
doing somthing right