public inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Raj <rajeshkumar.dba09@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Pgbouncer
Date: Thu, 14 May 2026 17:49:19 +0530
Message-ID: <CAJk5Ata6-cjGenCxEyG2rTARNS6ETovWMX8SZYVvrDBtchSOXA@mail.gmail.com> (raw)

Hi all,

App team using connection pooling and opening 500 sessions which seems to
me stay ,

In this case pgbouncer session pooling or transaction pooling which is
better?

Max_connections in db: 1000

Pool_mode=session
Max connections in pgbouncer: 3000
Default_pool_size=500
Reserve_pool_size=100
Min_pool_size=20


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: pgsql-admin@postgresql.org
  Cc: rajeshkumar.dba09@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Pgbouncer
  In-Reply-To: <CAJk5Ata6-cjGenCxEyG2rTARNS6ETovWMX8SZYVvrDBtchSOXA@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