Re: Discard All in pgbouncer

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Discard All in pgbouncer
Date: 2023-10-09 14:13:11
Message-ID: d7af179d-714f-ebe2-ddb7-19a1dffdd7b4@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 10/9/23 09:07, Rajesh Kumar wrote:
> Hi,
>
> I could see queries like DISCARD ALL is idle for more than 5minutes (we
> are using pgbouncer).
>
> Why is it idle for more than 5mns? I read about pgbouncer and could not
> understand this thing. If resetting a connection using query becomes one
> idle connection, I don't understand the pooling system here

In your case, "Idle" just means that DISCARD ALL was the last statement that
the pid executed.  Now, it's just doing /nothing/, because there's nothing
to do.  IOW, this is just fine.  No need to worry.

--
Born in Arizona, moved to Babylonia.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar 2023-10-09 14:18:39 Re: Discard All in pgbouncer
Previous Message Samed YILDIRIM 2023-10-09 14:12:22 Re: Discard All in pgbouncer