-
-
Save farnetani/67d9db09c3f7fec7729b0bc88f4624cf to your computer and use it in GitHub Desktop.
PostgreSQL: Como ver o tamanho das bases de dados de um servidor
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
-- Para saber o tamanho de todas as bases de dados: | |
SELECT pg_database.datname, pg_size_pretty(pg_database_size(pg_database.datname)) AS size FROM pg_database; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment