shared_merge_tree_activate_coordinated_merges_tasks
Activates rescheduling of coordinated merges tasks. It can be useful even when shared_merge_tree_enable_coordinated_merges=0 because this will populate merge coordinator statistics and help with cold start.shared_merge_tree_blobs_list_inline_file_max_bytes
Store files of a blob-list part that are at most this many bytes long (e.g. count.txt, metadata_version.txt, minmax indexes) directly inside the consolidated blobs.list file instead of a separate object-storage blob, saving one blob write and read per small file. 0 disables inlining. Takes effect only for parts using the blob-list storage (see shared_merge_tree_use_blobs_list_for_parts). Only available in ClickHouse Cloud.shared_merge_tree_create_per_replica_metadata_nodes
Enables creation of per-replica /metadata and /columns nodes in ZooKeeper. Only available in ClickHouse Cloudshared_merge_tree_disable_merges_and_mutations_assignment
Stop merges assignment for shared merge tree. Only available in ClickHouse Cloudshared_merge_tree_empty_partition_lifetime
How many seconds partition will be stored in keeper if it has no parts.shared_merge_tree_enable_automatic_empty_partitions_cleanup
Enabled cleanup of Keeper entries of empty partition.shared_merge_tree_enable_coordinated_merges
Enables coordinator-driven merge assignment forSharedMergeTree. The merge coordinator prepares merge entries and distributes them among active merge workers instead of relying only on independent merge selection.
shared_merge_tree_enable_keeper_parts_extra_data
Enables writing attributes into virtual parts and committing blocks in keepershared_merge_tree_enable_outdated_parts_check
Enables theSharedMergeTree background check that detects data parts which are no longer current and passes them to the parts-update process. Only available in ClickHouse Cloud.
shared_merge_tree_idle_parts_update_seconds
Interval in seconds for parts update without being triggered by ZooKeeper watch in the shared merge tree. Only available in ClickHouse Cloudshared_merge_tree_inactive_replica_cutoff_seconds
For how long an inactive replica is still taken into account by the background cleanup (OutdatedPartsQuorumThread): while a replica has been inactive for less than this many seconds,
it still holds back removal of outdated parts and truncation of finished mutations. A value of 0
means use the default of two ZooKeeper session timeouts.
Only in ClickHouse Cloud
shared_merge_tree_initial_parts_update_backoff_ms
Initial delay, in milliseconds, before retrying aSharedMergeTree parts-update operation. Repeated retries increase the delay up to shared_merge_tree_max_parts_update_backoff_ms. Only available in ClickHouse Cloud.
shared_merge_tree_interserver_http_connection_timeout_ms
Timeouts for interserver HTTP connection. Only available in ClickHouse Cloudshared_merge_tree_interserver_http_timeout_ms
Timeouts for interserver HTTP communication. Only available in ClickHouse Cloudshared_merge_tree_leader_update_period_random_add_seconds
Add uniformly distributed value from 0 to x seconds to shared_merge_tree_leader_update_period to avoid thundering herd effect. Only available in ClickHouse Cloudshared_merge_tree_leader_update_period_seconds
Maximum period to recheck leadership for parts update. Only available in ClickHouse Cloudshared_merge_tree_max_outdated_parts_to_process_at_once
Maximum amount of outdated parts leader will try to confirm for removal at one HTTP request. Only available in ClickHouse Cloud.shared_merge_tree_max_parts_update_backoff_ms
Maximum delay, in milliseconds, between retries of aSharedMergeTree parts-update operation. Only available in ClickHouse Cloud.
shared_merge_tree_max_parts_update_leaders_in_total
Maximum number of replicas across the service that may concurrently hold the parts-update leader role. Only available in ClickHouse Cloud.shared_merge_tree_max_parts_update_leaders_per_az
Maximum number of replicas within one availability zone that may concurrently hold the parts-update leader role. Both this limit andshared_merge_tree_max_parts_update_leaders_in_total apply. Only available in ClickHouse Cloud.
shared_merge_tree_max_replicas_for_parts_deletion
Max replicas which will participate in parts deletion (killer thread). Only available in ClickHouse Cloudshared_merge_tree_max_replicas_to_merge_parts_for_each_parts_range
Max replicas which will try to assign potentially conflicting merges (allow to avoid redundant conflicts in merges assignment). 0 means disabled. Only available in ClickHouse Cloudshared_merge_tree_max_suspicious_broken_parts
Max broken parts for SMT, if more - deny automatic detach.shared_merge_tree_max_suspicious_broken_parts_bytes
Max size of all broken parts for SMT, if more - deny automatic detach.shared_merge_tree_memo_ids_remove_timeout_seconds
How long we store insert memoization ids to avoid wrong actions during insert retries. Only available in ClickHouse Cloudshared_merge_tree_merge_coordinator_distribution_algorithm
The algorithm used by the merge coordinator thread to distribute merges between replicas. Possible values:water_fillingsainte_lague
shared_merge_tree_merge_coordinator_election_check_period_ms
Time between runs of merge coordinator election threadshared_merge_tree_merge_coordinator_factor
Time changing factor for delay of coordinator threadshared_merge_tree_merge_coordinator_fetch_fresh_metadata_period_ms
How often merge coordinator should sync with zookeeper to take fresh metadatashared_merge_tree_merge_coordinator_max_merge_request_size
Number of merges that coordinator can request from MergerMutator at onceshared_merge_tree_merge_coordinator_max_period_ms
Maximum time between runs of merge coordinator threadshared_merge_tree_merge_coordinator_merges_prepare_count
Number of merge entries that coordinator should prepare and distribute across workers. When set to ‘auto’, equals the max number of merge tasks allowed on a single replica multiplied by the number of active replicas.shared_merge_tree_merge_coordinator_min_period_ms
Minimum time between runs of merge coordinator threadshared_merge_tree_merge_worker_fast_timeout_ms
Timeout that merge worker thread will use if it is needed to update it’s state after immediate actionshared_merge_tree_merge_worker_regular_timeout_ms
Time between runs of merge worker threadshared_merge_tree_outdated_parts_group_size
How many replicas will be in the same rendezvous hash group for outdated parts cleanup. Only available in ClickHouse Cloud.shared_merge_tree_partitions_hint_ratio_to_reload_merge_pred_for_mutations
Will reload merge predicate in merge/mutate selecting task when<candidate partitions for mutations only (partitions that cannot be merged)>/<candidate partitions for mutations> ratio is higher than the setting. Only available
in ClickHouse Cloud