Skip to content

Instantly share code, notes, and snippets.

@dc2447
Created September 13, 2013 09:35
Show Gist options
  • Save dc2447/6548529 to your computer and use it in GitHub Desktop.
Save dc2447/6548529 to your computer and use it in GitHub Desktop.
checking for hot tables in Postgres
seller=# select relname,seq_tup_read,n_tup_ins from pg_stat_all_tables order by seq_tup_read desc limit 10;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment