IO query

From: Ketema Harris <ketema(at)c4direct(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: IO query
Date: 2006-04-27 17:54:21
Message-ID: C0767D8D.2D78%ketema@c4direct.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Robin Iddon 2006-04-27 18:43:54 Re: New system recommendations
Previous Message Scott Marlowe 2006-04-27 17:49:54 Re: New system recommendations