Re: Persistent connections in PHP

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Persistent connections in PHP
Дата
Msg-id 162867790708130946i1e1bf87ma823c4647c903f1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Persistent connections in PHP  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: "Out of memory" errors..
Следующее
От: novnov
Дата:
Сообщение: Re: Reordering columns, will this ever be simple?