public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Achilleas Mantzios <[email protected]>
Cc: [email protected]
Subject: Re: Mysterious connections to PostgreSQL (no statement) coming from pgbouncer (mode = transaction)
Date: Mon, 18 Nov 2024 13:07:12 -0700
Message-ID: <CAKFQuwa2pM4FTXpomL_tkeFmHkB+1xk2OO9j=2AtQ5xcy7fMow@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Mon, Nov 18, 2024 at 1:03 PM Achilleas Mantzios <
[email protected]> wrote:

> We have been running pgbouncer (since 1.8) for quite some years, and today
> I realized I have connections to the DB from pgbouncer that don't do
> anything, do not execute any statement.
>

Seems reasonable that a pooler would open connections to PostgreSQL to
prime the pool even before any demand is seen.  That way demand is
immediately given a functioning connection.

David J.


view thread (3+ messages)  latest in thread

reply

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Mysterious connections to PostgreSQL (no statement) coming from pgbouncer (mode = transaction)
  In-Reply-To: <CAKFQuwa2pM4FTXpomL_tkeFmHkB+1xk2OO9j=2AtQ5xcy7fMow@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox