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


Στις 18/11/24 22:07, ο/η David G. Johnston έγραψε:
> 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.

Hello David,

I forgot to mention that in pgbouncer : min_pool_size=0 . So not reasonable.

>
> David J.
>

view thread (3+ messages)

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: <[email protected]>

* 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