Re: Monitoring number of backends

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Monitoring number of backends
Дата
Msg-id 5266E5E0.90609@hogranch.com
обсуждение исходный текст
Ответ на Re: Monitoring number of backends  (andy <andy@squeakycode.net>)
Ответы Re: Monitoring number of backends  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-general
On 10/22/2013 1:13 PM, andy wrote:
> No, actually, I don't think my connect overhead is huge.  My apache
> and postgres are on the same box, and it connects using unix socket.
> Perhaps if my apache on db were on different boxes it would be a problem.

each postgres connection, if you're not using a pool, requires a fork()
of the postgres process.  fork is inherently an expensive process,
especially for a moderately large and fairly complex piece of software
like postgresql.





--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Monitoring number of backends
Следующее
От: andy
Дата:
Сообщение: Re: Monitoring number of backends