Re: Persistent connections in PHP - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Persistent connections in PHP
Date
Msg-id 162867790708130946i1e1bf87ma823c4647c903f1@mail.gmail.com
Whole thread Raw
In response to Re: Persistent connections in PHP  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
> 6:  The reason for connection pooling is primarily to twofold.  One is
> to allow very fast connections to your database when doing lots of
> small things where connection time will cost too much.  The other is
> to prevent your database from having lots of stale / idle connections
> that cause it to waste memory and to be slower since each backend
> needs to communicate with every other backend some amount of data some
> times.  pconnect takes care of the first problem, but exacerbates the
> second.
>

next advance ... longer life of cached executive plans in PL/pgSQL procedures.

Regards
Pavel Stehule

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: "Out of memory" errors..
Next
From: novnov
Date:
Subject: Re: Reordering columns, will this ever be simple?