-
-
Save ezequidias/977c6ab93073f175ab0baae3fa6261f5 to your computer and use it in GitHub Desktop.
PostgreSQL: Como ver o tamanho das bases de dados de um servidor
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
-- 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