Question
How can I verify the size of a database for PostgreSQL?
Answer
Repace dbname with your database name.
psql -U postgres -l
SELECT pg_size_pretty( pg_database_size('dbname') );
How can I verify the size of a database for PostgreSQL?
Repace dbname with your database name.
psql -U postgres -l
SELECT pg_size_pretty( pg_database_size('dbname') );
Comments
0 comments
Article is closed for comments.