📜  查找所有数据库的 postgres 的大小 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:30.831000             🧑  作者: Mango

代码示例1
CopySELECT pg_database.datname as "database_name", pg_database_size(pg_database.datname)/1024/1024 AS size_in_mb FROM pg_database ORDER by size_in_mb DESC;