Add 'PostgreSQL/description/objectsize.sql'
This commit is contained in:
parent
cc0ba0e5b1
commit
72906f7ab6
3
PostgreSQL/description/objectsize.sql
Normal file
3
PostgreSQL/description/objectsize.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
select datname, pg_size_pretty(pg_database_size(datname))
|
||||||
|
from pg_database
|
||||||
|
order by pg_database_size(datname) desc;
|
||||||
Loading…
Reference in New Issue
Block a user