Do you have a question? Post it now! No Registration Necessary. Now with pictures!
August 5, 2006, 7:00 pm
rate this thread
server on which both PHP and MYSQL runs. It is an intranet server. At
any point atleast 2 people will be actively using the server for their
work. If the script uses mysql_pconnect and then the normal user name
and password, will this speed up execution of scripts on the server by
Re: mysql_pconnect usage
Not significantly. And it will permanently allocate resources the
entire time the server is running.
mysql_pconnect() could be advantageous when you're running hundreds of
connections a second (remember - most connections last just a few
milliseconds) and those resources can be reused immediately. But for
any single connection the time required to establish a connection is
Remove the "x" from my email address
JDS Computer Training Corp.