Answers for "check postgres db size with table siz"

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
3

postgres check size table

SELECT pg_size_pretty( pg_total_relation_size('tablename') );
Posted by: Guest on June-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language