pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Sudakov <vas@sibptus.ru>
To: pgsql-admin@lists.postgresql.org
Subject: pgbouncer logs and its efficiency
Date: Fri, 28 Jan 2022 04:14:42 +0000
Message-ID: <YfNtsr+D6JKPmncK@admin.sibptus.ru> (raw)

Dear Colleages,

I have two questions about pgbouncer logs, can you please share your
knowledge.

1. What is the meaning of those IDs in the log like
"S-0xaaaae460fcb0", "C-0xaaaae45d9fb0" ? I suspect that "S-" and "C-"
mean "server" and "client", but what are those HEX numbers?

2. How would you calculate the efficiency of pgbouncer, like
client_conns/server_conns ratio (current and average over over time)?

I have a case where pgbouncer is probably doing more bad than good,
but I would like to be able to prove or disprove it.

-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet





view thread (5+ messages)  latest in thread

Message-ID: <YfNtsr+D6JKPmncK@admin.sibptus.ru>
Permalink:  ../YfNtsr+D6JKPmncK@admin.sibptus.ru/
Also on:    postgresql.org/message-id/YfNtsr+D6JKPmncK@admin.sibptus.ru

 · 

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: vas@sibptus.ru, pgsql-admin@lists.postgresql.org
  Subject: Re: pgbouncer logs and its efficiency
  In-Reply-To: <YfNtsr+D6JKPmncK@admin.sibptus.ru>

* 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