摘要: --数据库中单个表的大小(不包含索引) select pg_size_pretty(pg_relation_size('表名')); --查出所有表(包含索引)并排序 SELECT table_schema || '.' || table_name AS table_full_name, pg_size_pretty(pg_total_relation_size('"' || table_sc... 阅读全文
posted @ 2017-02-23 15:32 人生如若初见 阅读(29367) 评论(0) 推荐(3) 编辑