Subject Re: [firebird-php] pconnect & disconnect & FK
Author michal.720
Hmmm...

According to my tests, pconnect is much more faster than connect. I
don't have exact numbers, but on my notebook (WinXP, Apache2, php5,
Firebird 1.5.x) and some unix/linux machines pconnect() beats connect()
significantly.

It's because (AFAIK) each PHP script doesn't need to wait to connect,
PHP's ibase lib is already connected. And connection is the bottleneck
of each script (a result of my tests).

Thats the reason, why I use pconnect.

Michal

Alan McDonald wrote:

>
> I never use pconnect - that's faster.
> Alan
>