Skip to content

Instantly share code, notes, and snippets.

@jcoleman
Created February 1, 2019 21:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jcoleman/6f5e78ccf32fb232d1e733fe96d6d8f3 to your computer and use it in GitHub Desktop.
Save jcoleman/6f5e78ccf32fb232d1e733fe96d6d8f3 to your computer and use it in GitHub Desktop.
SELECT
seq_scan,
seq_tup_read,
idx_scan,
idx_tup_fetch,
n_tup_ins,
n_tup_upd,
n_tup_del
FROM pg_catalog.pg_stat_user_tables
WHERE relname = '<table>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment