pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Number of established connections since postmaster start
3+ messages / 2 participants
[nested] [flat]

* Number of established connections since postmaster start
@ 2011-12-02 10:02  Florian Weimer <fweimer@bfk.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Florian Weimer @ 2011-12-02 10:02 UTC (permalink / raw)
  To: pgsql-admin

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.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Number of established connections since postmaster start
@ 2011-12-02 10:08  Frank Lanitz <frank@frank.uvena.de>
  parent: Florian Weimer <fweimer@bfk.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Frank Lanitz @ 2011-12-02 10:08 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Number of established connections since postmaster start
@ 2011-12-02 10:15  Florian Weimer <fweimer@bfk.de>
  parent: Frank Lanitz <frank@frank.uvena.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Florian Weimer @ 2011-12-02 10:15 UTC (permalink / raw)
  To: pgsql-admin

* Frank Lanitz:

> 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.

Sorry, I was unclear.  I need the total number, not just the number of
connections currently active.

(I already monitor pg_stat_activity---it is very helpful.)

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-12-02 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-12-02 10:02 Number of established connections since postmaster start Florian Weimer <fweimer@bfk.de>
2011-12-02 10:08 ` Frank Lanitz <frank@frank.uvena.de>
2011-12-02 10:15   ` Florian Weimer <fweimer@bfk.de>

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