Re: pg bouncer issue what does sv_used column means

From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: "Sheena, Prabhjot" <Prabhjot(dot)Singh(at)classmates(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg bouncer issue what does sv_used column means
Date: 2015-06-12 19:01:29
Message-ID: 870941851.3347884.1434135689729.JavaMail.yahoo@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance


> From: "Sheena, Prabhjot" <Prabhjot(dot)Singh(at)classmates(dot)com>
>To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>; "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
>Sent: Friday, 12 June 2015, 18:57
>Subject: [GENERAL] pg bouncer issue what does sv_used column means
>
>
>
>Guys we see spike in pg bouncer during the peak hours and that was slowing down the application. We did bump up the connection limit and it is helpful but now we again notice little spike in connection. And one thing that I notice that is different is jump in sv_used value when I run command show pools during problem times
>
>
>Can anyone please explain what value of sv_used means when i run show pools;
>
>
>

See the manual:

http://pgbouncer.projects.pgfoundry.org/doc/usage.html

I believe in this instance "used" is interpreted as idle server connections that are in the process of being (periodically) health checked before being made available to clients again. A stab in the dark would be to check what query you're using in server_check_query.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Xenofon Papadopoulos 2015-06-12 20:26:36 Re: pg bouncer issue what does sv_used column means
Previous Message greg 2015-06-12 18:57:46 Re: double precision[] storage space questions

Browse pgsql-performance by date

  From Date Subject
Next Message Xenofon Papadopoulos 2015-06-12 20:26:36 Re: pg bouncer issue what does sv_used column means
Previous Message Sheena, Prabhjot 2015-06-12 17:57:22 pg bouncer issue what does sv_used column means