You are here: Re: mysql_pconnect usage « PHP Programming Language « IT news, forums, messages
Re: mysql_pconnect usage

Posted by Jerry Stuckle on 08/05/06 20:28

WhatsPHP wrote:
> Can I use mysql_pconnect on an environment like this? There is just 1
> 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
> any chance?
>
> Fut
>

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
fairly short.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация