Re: Pgbouncer discard all

Поиск
Список
Период
Сортировка
От Martin Marques
Тема Re: Pgbouncer discard all
Дата
Msg-id da0275b1-93e7-deb0-dac1-a1e926902f1b@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Pgbouncer discard all  (Nicola Contu <nicola.contu@gmail.com>)
Список pgsql-general
El 16/10/18 a las 12:12, Nicola Contu escribió:
>  2492534808 | dev    |   7355 | 1833427130 | pgbouncer       |         
>                | 10.151.2.145   |                 |       60570 |
> 2018-10-16 14:13:05.151015+00 |                               |
> 2018-10-16 15:10:40.309993+00 | 2018-10-16 15:10:40.310038+00 | Client
>   | ClientRead          | idle   |             |              | DISCARD ALL
> 
> They are idle actually.
> Will they count as client connection on the total amount set on the
> postgres.conf?

Yes, but that's the idea of having a pooler in between the app and the
server. Whenever the app needs a new connection it will reuse one from
the pool, instead of having to open a new connection.

pgbouncer will eventually close the connection if it stays in the pool
for longer than server_lifetime or server_idle_timeout.

Regards,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Nicola Contu
Дата:
Сообщение: Re: Pgbouncer discard all
Следующее
От: Scot Kreienkamp
Дата:
Сообщение: RE: Pgbouncer discard all