Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

detach_* MergeTree table settings

These settings are available in system.merge_tree_settings and are autogenerated from ClickHouse source.

detach_not_byte_identical_parts

Type
Bool
Default
0

Enables or disables detaching a data part on a replica after a merge or a mutation, if it is not byte-identical to data parts on other replicas. If disabled, the data part is removed. Activate this setting if you want to analyze such parts later.

The setting is applicable to MergeTree tables with enabled data replication.

Possible values:

  • 0 — Parts are removed.
  • 1 — Parts are detached.

detach_old_local_parts_when_cloning_replica

Type
Bool
Default
1

Do not remove old local parts when repairing lost replica.

Possible values:

  • true
  • false
Navigation