标签: 表大小
简介sp_spaceused显示当前数据库中表、索引视图或 Service Broker 队列使用的行数、磁盘空间预留和磁盘空间,或显示整个数据库保留和使用的磁盘空间。该结果报告包含几个重要的列,其中 ... 阅读全文
PG中查询表和索引大小的几个函数pg_total_relation_size、pg_relation_size、pg_table_size、pg_indexes_size的区别
SQselect pg_size_pretty(pg_total_relation_size('test'));select pg_size_pretty(pg_relation_size(' ... 阅读全文