pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Lanitz <frank@frank.uvena.de>
To: pgsql-admin@postgresql.org
Subject: Re: Number of established connections since postmaster start
Date: Fri, 02 Dec 2011 11:08:58 +0100
Message-ID: <4ED8A3BA.3030401@frank.uvena.de> (raw)
In-Reply-To: <82aa7b8f5c.fsf@mid.bfk.de>
References: <82aa7b8f5c.fsf@mid.bfk.de>

Am 02.12.2011 11:02, schrieb Florian Weimer:
> Is there a way to monitor the number of connections which have been
> established so far?
> 
> I'd like to graph this value, as a rough indicator whether connection
> pooling is working properly.

You could check pg_stat_activity table. Should include a bunch of infos
you might looking for.

Cheers,
Frank



view thread (3+ messages)  latest in thread

Message-ID: <4ED8A3BA.3030401@frank.uvena.de>
Permalink:  ../4ED8A3BA.3030401@frank.uvena.de/
Also on:    postgresql.org/message-id/4ED8A3BA.3030401@frank.uvena.de

 · 

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: frank@frank.uvena.de
  Subject: Re: Number of established connections since postmaster start
  In-Reply-To: <4ED8A3BA.3030401@frank.uvena.de>

* 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