Clickhouse 监控运维常用SQL小结_alter table [table_name] on cluster ck_cluster_td _羲凡丞相的博客-CSDN博客

网站介绍:文章浏览阅读1k次。@羲凡——只为了更好的活着Clickhouse 监控运维常用SQL小结1、查看磁盘空间SELECT name, path, formatReadableSize(free_space) AS free_space, formatReadableSize(total_space) AS total_space, typeFROM system.disks2、查看表大小SELECTtable,formatReadableSize(sum(data_com_alter table [table_name] on cluster ck_cluster_td delete where