Files
2026-05-18 06:40:19 +00:00

9 lines
239 B
SQL

SELECT schemaname,
relname,
idx_tup_fetch + seq_tup_read as TotalReads
FROM pg_stat_all_tables
WHERE idx_tup_fetch + seq_tup_read != 0
AND schemaname NOT IN ( 'pg_catalog', 'pg_toast' )
order by TotalReads desc
LIMIT 10;