How to identify the total size of the db (Used) and the total size of the db.
for the total size of the db (Used) : pg_database_size('dbName') cmmnd works.
But I am not sure how to calculate the free space size of the db. (total capacity I mean)
I saw pg_spacefree('table'). but it would need GRANT access. Is there any other way?
please guide me here?