Created
September 11, 2009 01:43
-
-
Save pop3xrj/184999 to your computer and use it in GitHub Desktop.
display table szie for ppostgresql
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, reltuples, relpages * 8 / 1024 AS "MB" FROM pg_class ORDER BY relpages DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment