Answers for "get database size in postgresql"

SQL
5

how to get the size of the database in postgresql

SELECT pg_size_pretty( pg_database_size('dbname') );
Posted by: Guest on February-09-2021

Code answers related to "get database size in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language