Re: Discard All in pgbouncer

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>
Cc: Samed YILDIRIM <samed(at)reddoc(dot)net>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Discard All in pgbouncer
Date: 2023-10-09 14:44:50
Message-ID: CAKFQuwZF20L-HW+2z407gPu7-nWiS3KFDhL7=cUZeHpd7CjGxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday, October 9, 2023, Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>
wrote:

> Purpose of bouncer is handle idle connections right? Is there a time
> period for the DISCARD ALL to go away? If so, how to configure?
>
>

You can configure pgbouncer to close unused connections periodically - and
indeed the defaults do this. server_idle_timeout of 10 minutes.

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar 2023-10-09 14:48:17 Re: Discard All in pgbouncer
Previous Message Michael Banck 2023-10-09 14:34:45 Re: Discard All in pgbouncer