From: | Bill Moran <wmoran(at)potentialtech(dot)com> |
---|---|
To: | Pedro Doria Meunier <pdoria(at)netmadeira(dot)com> |
Cc: | Postgresql Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Average connections |
Date: | 2009-06-10 15:37:14 |
Message-ID: | 20090610113714.10e157a8.wmoran@potentialtech.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
In response to Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thank you Bill for your tip.
>
> As far as the table's name is concerned the only one I can find is
> 'pg_statistic' (under pg_catalog). I'm using PGSQL 8.2.9 on x86_64.
Can't imagine why you're not seeing it. It existed in 8.2, and I don't
know of any config setting that would make it not show up.
> Bill Moran wrote:
> > In response to Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>:
> >
> >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> >>
> >> Hi all
> >>
> >> I've googled for an answer but couldn't find one. Is there anyway
> >> to monitor the average connections to a database?
> >>
> >> Thank you in advance for any insights.
> >
> > The pg_stat_activity table holds 1 row for each connection with
> > information on what that connection is doing.
> >
> > It wouldn't be very difficult to write a passthrough script for
> > something like MRTG to graph this data.
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFKL8ND2FH5GXCfxAsRAu/XAJ43UGqlzv5gfzg1YgECbhvL2MaPzwCdEnt3
> GfewITsorV/t7cfpq3WxVqM=
> =84cI
> -----END PGP SIGNATURE-----
>
--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Wenk | 2009-06-10 15:53:53 | fulltext search udf |
Previous Message | Brad Nicholson | 2009-06-10 15:33:45 | Re: Average connections |