Created
March 2, 2017 15:40
-
-
Save chocobn69/2317758cfc05218c82e59b3149978ada to your computer and use it in GitHub Desktop.
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 reltuples, relpages, pg_relation_size(oid),oid::regclass | |
from pg_class | |
where reltuples=0 and relpages > 0 and relkind = 'r' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment