From: Ketema Harris <ketema@c4direct.com>
To: pgsql-admin@postgresql.org
Subject: IO query
Date: Thu, 27 Apr 2006 13:54:21 -0400
Message-ID: <C0767D8D.2D78%ketema@c4direct.com> (raw)
Does anyone have a function or query that will loop through all the dbs in a
cluster, gather all the oids for every table, then call
pg_stat_get_db_blocks_fetched(oid) and pg_stat_get_db_blocks_hit(oid),
subtracting the latter from the former to get an estimate of kernel read()
calls? I would like to write on if there is not one already out there, but
I don¹t know how to find the oid of a table with a query. Where is that
stored?
Thanks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ketema@c4direct.com
Subject: Re: IO query
In-Reply-To: <C0767D8D.2D78%ketema@c4direct.com>
References: <C0767D8D.2D78%ketema@c4direct.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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