pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedTools for PostgreSQL stats monitoring?
2+ messages / 2 participants
[nested] [flat]
* Tools for PostgreSQL stats monitoring?
@ 2007-05-03 13:52 Dawid Kuroczko <qnex42@gmail.com>
2007-05-03 14:22 ` Re: Tools for PostgreSQL stats monitoring? Michael Fuhr <mike@fuhr.org>
0 siblings, 1 reply; 2+ messages in thread
From: Dawid Kuroczko @ 2007-05-03 13:52 UTC (permalink / raw)
To: pgsql-admin
Having done a series of
CREATE TEMP TABLE snap_user_idx AS SELECT * FROM pg_stat_user_indexes;
SELECT t1.indexrelname,t1.idx_scan-t0.idx_scan as idx_scan,
t1.idx_tup_read-t0.idx_tup_read AS idx_tup_read,
t1.idx_tup_fetch-t0.idx_tup_fetch as idx_tup_fetch
FROM pg_stat_user_indexes t1 JOIN snap_user_idx t0 USING (indexrelid)
ORDER BY 4;
...it occured to me I'm probably reinventing the wheel. There should already
be a utility which could present all those marvels hidden in 'pg_stat%' tables,
present them as nice graphs, highlight most used indexes, etc, etc.
Maybe one of you is already using such a thing and can direct me to it?
Regards,
Dawid
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Tools for PostgreSQL stats monitoring?
2007-05-03 13:52 Tools for PostgreSQL stats monitoring? Dawid Kuroczko <qnex42@gmail.com>
@ 2007-05-03 14:22 ` Michael Fuhr <mike@fuhr.org>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Fuhr @ 2007-05-03 14:22 UTC (permalink / raw)
To: Dawid Kuroczko <qnex42@gmail.com>; +Cc: pgsql-admin
On Thu, May 03, 2007 at 03:52:39PM +0200, Dawid Kuroczko wrote:
> There should already be a utility which could present all those
> marvels hidden in 'pg_stat%' tables, present them as nice graphs,
> highlight most used indexes, etc, etc.
>
> Maybe one of you is already using such a thing and can direct me to it?
For basic graphing needs I've used MRTG:
http://oss.oetiker.ch/mrtg/
There's also cricket, cacti, NRG, etc. Any decent network management
system should support custom scripts or plugins to monitor anything
you can measure.
--
Michael Fuhr
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-05-03 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-03 13:52 Tools for PostgreSQL stats monitoring? Dawid Kuroczko <qnex42@gmail.com>
2007-05-03 14:22 ` Michael Fuhr <mike@fuhr.org>
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