Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

max_number_* MergeTree 表设置

这些设置可在 system.merge_tree_settings 中查看,且是根据 ClickHouse 源代码自动生成的。

max_number_of_merges_with_ttl_in_pool

类型
UInt64
默认值
2

当池中包含生存时间 (TTL) 条目的合并数量 超过指定值时,不再分配 新的包含生存时间 (TTL) 的合并。这样可以为常规合并保留空闲线程,并 避免出现 "parts 过多"

max_number_of_mutations_for_replica

类型
UInt64
默认值
0

将每个副本的 part mutations 数量限制为指定值。 零表示每个副本的 mutations 数量不受限制 (执行 仍可能受到其他设置的约束) 。

Navigation