Discussion:
[ADMIN] Number of established connections since postmaster start
(too old to reply)
Florian Weimer
2011-12-02 10:02:55 UTC
Permalink
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 <***@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
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Frank Lanitz
2011-12-02 10:08:58 UTC
Permalink
Post by 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
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Florian Weimer
2011-12-02 10:15:01 UTC
Permalink
Post by Frank Lanitz
Post by 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 <***@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
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Loading...