Vertica的这些事(九)——-vertica存储统计信息 vertica存储统计信息: 表数量: 1select count(distinct table_name) FROM tables; 分区表数量: 1select count(distinct table_name) from PARTITION_COLUMNS; 总表占大小: 1SELECT sum(used_bytes)/1024/1024/1024 FROM projection_storage ; 分区表总大小: 12select sum(disk_space_bytes)/1024/1024/1024 from PARTITION_COLUMNS;SELECT sum(used_bytes)/1024/1024/1024 FROM projection_storage where anchor_table_name in (select distinct table_name from PARTITION_COLUMNS); 分区表大小(前10): 1select table_name,sum(disk_space_bytes)/1024/1024/1024 size from PARTITION_COLUMNS group by table_name order by size desc limit 10; 分区表每个分区的大小(前20): 1select partition_key,sum(disk_space_bytes)/1024/1024/1024 size from PARTITION_COLUMNS group by partition_key order by size desc limit 20; vertica 本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处! vertica的这些事(十)——-Vertica停止数据库的操作步骤 上一篇 Vertica的这些事(八)——-Vertica-管理 下一篇