greenplum查看表和库的大小
查看表的大小select pg_size_pretty(pg_relation_size('tb_cfg_city'));查看库的大小select pg_size_pretty(pg_total_relation_size('tb_cfg_city'));查看某个数据库的大小select pg_size_pretty(pg_database_size('ltjt_dev'));查看所有库的大小select datname,pg_size_pretty(pg_database_size(d
转载
2021-03-01 14:01:24 ·
2198 阅读 ·
0 评论