From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Discard All in pgbouncer
Date: Mon, 9 Oct 2023 08:11:05 -0600
Message-ID: <1AC71BBF-B8CC-4503-8C83-A528B7B213B6@elevated-dev.com> (raw)
In-Reply-To: <CAJk5AtachHvTqeMT=Y+3wKaRgQnO8ypBUPvGQK4JFH5thkxcew@mail.gmail.com>
References: <CAJk5AtachHvTqeMT=Y+3wKaRgQnO8ypBUPvGQK4JFH5thkxcew@mail.gmail.com>
> On Oct 9, 2023, at 8:07 AM, Rajesh Kumar <rajeshkumar.dba09@gmail.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott_ribe@elevated-dev.com, rajeshkumar.dba09@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Discard All in pgbouncer
In-Reply-To: <1AC71BBF-B8CC-4503-8C83-A528B7B213B6@elevated-dev.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox