Re: Discard All in pgbouncer

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Discard All in pgbouncer
Date: 2023-10-09 14:11:05
Message-ID: 1AC71BBF-B8CC-4503-8C83-A528B7B213B6@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Oct 9, 2023, at 8:07 AM, Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com> 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
>
> Plz help

Idle means it's not doing anything--pg_stat_activity is showing you the last query executed.

In response to

Browse pgsql-admin by date

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