Tools for PostgreSQL stats monitoring?

From: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Tools for PostgreSQL stats monitoring?
Date: 2007-05-03 13:52:39
Message-ID: 758d5e7f0705030652t6fc4923dnab00ccec3c41426d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2007-05-03 14:22:26 Re: Tools for PostgreSQL stats monitoring?
Previous Message Thomas Markus 2007-05-03 13:32:11 Re: infinite blocking statements in 8.2.3