Size (154.47 GB) is greater than max_[table/partition]_size_to_drop (50.00 GB) 2. File ‘/data/servic
错误
Reason: 1. Size (154.47 GB) is greater than max_[table/partition]_size_to_drop (50.00 GB)
2. File '/data/service/clickhouse/flags/force_drop_table' intended to force DROP doesn't exist How to fix th ...
产生原因
这是在执行 drop table操作一张超过50gb的MergeTree报错的,删除不了。
解决方式
官方文档说明
这是官方的说明,大致意思是。如果一个MergeTree 表的大小超过max_table_size_to_drop(以字节为单位),则不能使用DROP查询删除它。如果你仍然需要在不重启ClickHouse服务器的情况下删除表,创建< ClickHouse -path>/flags/force_drop_table文件,并运行DROP。
或者修改 config.xml配置信息
还没有评论,来说两句吧...