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