Created
November 1, 2021 16:11
-
-
Save asolera/0d23935647f2949f340cdd64bc6b185a to your computer and use it in GitHub Desktop.
Show dead tuples on PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT relname AS "table_name", | |
n_dead_tup AS "dead_tuples" | |
FROM pg_stat_user_tables; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment