Created
November 12, 2018 12:03
-
-
Save Teketel/8ce53daf1005b4392d65918f1e6b906a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 pg_database.datname as "database_name", pg_size_pretty(pg_database_size(pg_database.datname)) AS size_in_mb FROM pg_database ORDER by size_in_mb DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment