Re: Huge spikes in number of connections doing "PARSE"

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Huge spikes in number of connections doing "PARSE"
Дата
Msg-id 20110315103227.GB14488@depesz.com
обсуждение исходный текст
Ответ на Re: Huge spikes in number of connections doing "PARSE"  (Noah Misch <noah@leadboat.com>)
Ответы Re: Huge spikes in number of connections doing "PARSE"  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Huge spikes in number of connections doing "PARSE"  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-general
On Tue, Mar 15, 2011 at 12:13:21AM -0400, Noah Misch wrote:
> What is a typical lifespan for a backend in this system?  What sort of
> connection pooling are you using, if any?

quite long, but:

we have n (~ 40 i think) web servers. each webserver has it's own
pgbouncer (in session pooling).

application connects to pgbouncer, issues (usually) single query, and
disconnects.

pgbouncers are set to close oder connections, if unused, after (i think
2 minutes. (i don't actually have access there).

generally, through the day we see from 400 to 800 connections, mostly
idle, but sometimes it goes much higher (like 1400), and then the
connections are mostly parsing.

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: base backup and tar problems with disappearing files.
Следующее
От: "Vogt, Michael"
Дата:
Сообщение: Re: Autocommit off - commits/rollbacks