Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

inactive_parts_* MergeTree 表设置

这些设置可在 system.merge_tree_settings 中查看,并由 ClickHouse 源代码自动生成。

inactive_parts_to_delay_insert

类型
UInt64
默认值
0

如果表中某个分区内的 inactive parts 数量超过 inactive_parts_to_delay_insert 的值,系统会人为降低 INSERT 速度。

可能的值:

  • 任意正整数。

inactive_parts_to_throw_insert

类型
UInt64
默认值
0

如果单个分区中的 inactive parts 数量超过 inactive_parts_to_throw_insert 的值,INSERT 将被中断,并报出 以下错误:

"inactive parts 过多 (N)。Parts 清理速度明显 慢于插入速度" 异常。"

可能的取值:

  • 任意正整数。
Navigation