From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Discard All in pgbouncer
Date: Mon, 9 Oct 2023 09:13:11 -0500
Message-ID: <d7af179d-714f-ebe2-ddb7-19a1dffdd7b4@gmail.com> (raw)
In-Reply-To: <CAJk5AtachHvTqeMT=Y+3wKaRgQnO8ypBUPvGQK4JFH5thkxcew@mail.gmail.com>
References: <CAJk5AtachHvTqeMT=Y+3wKaRgQnO8ypBUPvGQK4JFH5thkxcew@mail.gmail.com>
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.
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: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Discard All in pgbouncer
In-Reply-To: <d7af179d-714f-ebe2-ddb7-19a1dffdd7b4@gmail.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