Question : postgres base size
Answered by : cloudy-caiman-hyvluwvwaio3
SELECT pg_size_pretty( pg_database_size('dbname') );
Source : https://www.a2hosting.in/kb/developer-corner/postgresql/determining-the-size-of-postgresql-databases-and-tables | Last Update : Tue, 16 Feb 21