> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# shared_merge_* MergeTree table settings

> ClickHouse MergeTree table settings in the shared_merge_* generated group.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings are available in [system.merge\_tree\_settings](/docs/reference/system-tables/merge_tree_settings) and are autogenerated from ClickHouse source.

<h2 id="shared_merge_tree_activate_coordinated_merges_tasks">
  shared\_merge\_tree\_activate\_coordinated\_merges\_tasks
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.9"},{"label": "0"},{"label": "New settings"}]}, {"id": "row-2","items": [{"label": "25.8"},{"label": "0"},{"label": "New settings"}]}, {"id": "row-3","items": [{"label": "25.7"},{"label": "0"},{"label": "New settings"}]}, {"id": "row-4","items": [{"label": "25.6"},{"label": "0"},{"label": "New settings"}]}, {"id": "row-5","items": [{"label": "25.10"},{"label": "0"},{"label": "New settings"}]}]} />

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.

<h2 id="shared_merge_tree_create_per_replica_metadata_nodes">
  shared\_merge\_tree\_create\_per\_replica\_metadata\_nodes
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.11"},{"label": "0"},{"label": "Reduce the amount of metadata in Keeper."}]}, {"id": "row-2","items": [{"label": "25.1"},{"label": "1"},{"label": "Cloud sync"}]}]} />

Enables creation of per-replica /metadata and /columns nodes in ZooKeeper.
Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_disable_merges_and_mutations_assignment">
  shared\_merge\_tree\_disable\_merges\_and\_mutations\_assignment
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

Stop merges assignment for shared merge tree. Only available in ClickHouse
Cloud

<h2 id="shared_merge_tree_empty_partition_lifetime">
  shared\_merge\_tree\_empty\_partition\_lifetime
</h2>

<SettingsInfoBlock type="Seconds" default_value="86400" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.9"},{"label": "86400"},{"label": "New setting"}]}]} />

How many seconds partition will be stored in keeper if it has no parts.

<h2 id="shared_merge_tree_enable_automatic_empty_partitions_cleanup">
  shared\_merge\_tree\_enable\_automatic\_empty\_partitions\_cleanup
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.2"},{"label": "1"},{"label": "Enable by default"}]}, {"id": "row-2","items": [{"label": "25.9"},{"label": "0"},{"label": "New setting"}]}]} />

Enabled cleanup of Keeper entries of empty partition.

<h2 id="shared_merge_tree_enable_coordinated_merges">
  shared\_merge\_tree\_enable\_coordinated\_merges
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.6"},{"label": "1"},{"label": "Enable coordinated merges by default"}]}, {"id": "row-2","items": [{"label": "25.5"},{"label": "0"},{"label": "New setting"}]}]} />

Enables coordinated merges strategy

<h2 id="shared_merge_tree_enable_keeper_parts_extra_data">
  shared\_merge\_tree\_enable\_keeper\_parts\_extra\_data
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.6"},{"label": "1"},{"label": "Enable coordinated merges by default"}]}, {"id": "row-2","items": [{"label": "25.3"},{"label": "0"},{"label": "New setting"}]}]} />

Enables writing attributes into virtual parts and committing blocks in keeper

<h2 id="shared_merge_tree_enable_outdated_parts_check">
  shared\_merge\_tree\_enable\_outdated\_parts\_check
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1"},{"label": "Cloud sync"}]}]} />

Enable outdated parts check. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_idle_parts_update_seconds">
  shared\_merge\_tree\_idle\_parts\_update\_seconds
</h2>

<SettingsInfoBlock type="UInt64" default_value="3600" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "3600"},{"label": "Cloud sync"}]}]} />

Interval in seconds for parts update without being triggered by ZooKeeper
watch in the shared merge tree. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_inactive_replica_cutoff_seconds">
  shared\_merge\_tree\_inactive\_replica\_cutoff\_seconds
</h2>

<SettingsInfoBlock type="Seconds" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.6"},{"label": "0"},{"label": "New setting which controls for how long an inactive replica is taken into account by the background cleanup (0 means two ZooKeeper session timeouts)"}]}]} />

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

<h2 id="shared_merge_tree_initial_parts_update_backoff_ms">
  shared\_merge\_tree\_initial\_parts\_update\_backoff\_ms
</h2>

<SettingsInfoBlock type="UInt64" default_value="50" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.2"},{"label": "50"},{"label": "New setting"}]}]} />

Initial backoff for parts update. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_interserver_http_connection_timeout_ms">
  shared\_merge\_tree\_interserver\_http\_connection\_timeout\_ms
</h2>

<SettingsInfoBlock type="UInt64" default_value="100" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.2"},{"label": "100"},{"label": "New setting"}]}]} />

Timeouts for interserver HTTP connection. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_interserver_http_timeout_ms">
  shared\_merge\_tree\_interserver\_http\_timeout\_ms
</h2>

<SettingsInfoBlock type="UInt64" default_value="10000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "10000"},{"label": "Cloud sync"}]}]} />

Timeouts for interserver HTTP communication. Only available in ClickHouse
Cloud

<h2 id="shared_merge_tree_leader_update_period_random_add_seconds">
  shared\_merge\_tree\_leader\_update\_period\_random\_add\_seconds
</h2>

<SettingsInfoBlock type="UInt64" default_value="10" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "10"},{"label": "Cloud sync"}]}]} />

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 Cloud

<h2 id="shared_merge_tree_leader_update_period_seconds">
  shared\_merge\_tree\_leader\_update\_period\_seconds
</h2>

<SettingsInfoBlock type="UInt64" default_value="30" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "30"},{"label": "Cloud sync"}]}]} />

Maximum period to recheck leadership for parts update. Only available in
ClickHouse Cloud

<h2 id="shared_merge_tree_max_outdated_parts_to_process_at_once">
  shared\_merge\_tree\_max\_outdated\_parts\_to\_process\_at\_once
</h2>

<SettingsInfoBlock type="UInt64" default_value="1000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1000"},{"label": "Cloud sync"}]}]} />

Maximum amount of outdated parts leader will try to confirm for removal at
one HTTP request. Only available in ClickHouse Cloud.

<h2 id="shared_merge_tree_max_parts_update_backoff_ms">
  shared\_merge\_tree\_max\_parts\_update\_backoff\_ms
</h2>

<SettingsInfoBlock type="UInt64" default_value="5000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.2"},{"label": "5000"},{"label": "New setting"}]}]} />

Max backoff for parts update. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_max_parts_update_leaders_in_total">
  shared\_merge\_tree\_max\_parts\_update\_leaders\_in\_total
</h2>

<SettingsInfoBlock type="UInt64" default_value="6" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "6"},{"label": "Cloud sync"}]}]} />

Maximum number of parts update leaders. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_max_parts_update_leaders_per_az">
  shared\_merge\_tree\_max\_parts\_update\_leaders\_per\_az
</h2>

<SettingsInfoBlock type="UInt64" default_value="2" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "2"},{"label": "Cloud sync"}]}]} />

Maximum number of parts update leaders. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_max_replicas_for_parts_deletion">
  shared\_merge\_tree\_max\_replicas\_for\_parts\_deletion
</h2>

<SettingsInfoBlock type="UInt64" default_value="10" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "10"},{"label": "Cloud sync"}]}]} />

Max replicas which will participate in parts deletion (killer thread). Only
available in ClickHouse Cloud

<h2 id="shared_merge_tree_max_replicas_to_merge_parts_for_each_parts_range">
  shared\_merge\_tree\_max\_replicas\_to\_merge\_parts\_for\_each\_parts\_range
</h2>

<SettingsInfoBlock type="UInt64" default_value="5" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "5"},{"label": "Cloud sync"}]}]} />

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 Cloud

<h2 id="shared_merge_tree_max_suspicious_broken_parts">
  shared\_merge\_tree\_max\_suspicious\_broken\_parts
</h2>

<SettingsInfoBlock type="UInt64" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.2"},{"label": "0"},{"label": "Max broken parts for SMT, if more - deny automatic detach"}]}]} />

Max broken parts for SMT, if more - deny automatic detach.

<h2 id="shared_merge_tree_max_suspicious_broken_parts_bytes">
  shared\_merge\_tree\_max\_suspicious\_broken\_parts\_bytes
</h2>

<SettingsInfoBlock type="UInt64" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.2"},{"label": "0"},{"label": "Max size of all broken parts for SMT, if more - deny automatic detach"}]}]} />

Max size of all broken parts for SMT, if more - deny automatic detach.

<h2 id="shared_merge_tree_memo_ids_remove_timeout_seconds">
  shared\_merge\_tree\_memo\_ids\_remove\_timeout\_seconds
</h2>

<SettingsInfoBlock type="Int64" default_value="1800" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1800"},{"label": "Cloud sync"}]}]} />

How long we store insert memoization ids to avoid wrong actions during
insert retries. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_merge_coordinator_distribution_algorithm">
  shared\_merge\_tree\_merge\_coordinator\_distribution\_algorithm
</h2>

<SettingsInfoBlock type="MergeCoordinatorDistributionAlgorithm" default_value="water_filling" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.7"},{"label": "water_filling"},{"label": "New setting which controls what algorithm is used by the merge coordinator to distribute merges between replicas"}]}]} />

What algorithm will be used by merge coordinator thread to distribute merges between replicas

<h2 id="shared_merge_tree_merge_coordinator_election_check_period_ms">
  shared\_merge\_tree\_merge\_coordinator\_election\_check\_period\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="30000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "30000"},{"label": "New setting"}]}]} />

Time between runs of merge coordinator election thread

<h2 id="shared_merge_tree_merge_coordinator_factor">
  shared\_merge\_tree\_merge\_coordinator\_factor
</h2>

<SettingsInfoBlock type="Float" default_value="1.1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "1.100000023841858"},{"label": "New setting"}]}, {"id": "row-2","items": [{"label": "25.10"},{"label": "1.100000023841858"},{"label": "Lower coordinator sleep time after load"}]}]} />

Time changing factor for delay of coordinator thread

<h2 id="shared_merge_tree_merge_coordinator_fetch_fresh_metadata_period_ms">
  shared\_merge\_tree\_merge\_coordinator\_fetch\_fresh\_metadata\_period\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="10000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "10000"},{"label": "New setting"}]}]} />

How often merge coordinator should sync with zookeeper to take fresh metadata

<h2 id="shared_merge_tree_merge_coordinator_max_merge_request_size">
  shared\_merge\_tree\_merge\_coordinator\_max\_merge\_request\_size
</h2>

<SettingsInfoBlock type="UInt64" default_value="20" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "20"},{"label": "New setting"}]}]} />

Number of merges that coordinator can request from MergerMutator at once

<h2 id="shared_merge_tree_merge_coordinator_max_period_ms">
  shared\_merge\_tree\_merge\_coordinator\_max\_period\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="10000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "10000"},{"label": "New setting"}]}]} />

Maximum time between runs of merge coordinator thread

<h2 id="shared_merge_tree_merge_coordinator_merges_prepare_count">
  shared\_merge\_tree\_merge\_coordinator\_merges\_prepare\_count
</h2>

<SettingsInfoBlock type="UInt64Auto" default_value="auto" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.4"},{"label": "auto"},{"label": "Make setting auto: max merge tasks per replica * number of active replicas"}]}, {"id": "row-2","items": [{"label": "25.5"},{"label": "100"},{"label": "New setting"}]}]} />

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.

<h2 id="shared_merge_tree_merge_coordinator_min_period_ms">
  shared\_merge\_tree\_merge\_coordinator\_min\_period\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "1"},{"label": "New setting"}]}]} />

Minimum time between runs of merge coordinator thread

<h2 id="shared_merge_tree_merge_worker_fast_timeout_ms">
  shared\_merge\_tree\_merge\_worker\_fast\_timeout\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="100" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "100"},{"label": "New setting"}]}]} />

Timeout that merge worker thread will use if it is needed to update it's state after immediate action

<h2 id="shared_merge_tree_merge_worker_regular_timeout_ms">
  shared\_merge\_tree\_merge\_worker\_regular\_timeout\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="10000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.5"},{"label": "10000"},{"label": "New setting"}]}]} />

Time between runs of merge worker thread

<h2 id="shared_merge_tree_outdated_parts_group_size">
  shared\_merge\_tree\_outdated\_parts\_group\_size
</h2>

<SettingsInfoBlock type="UInt64" default_value="2" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.9"},{"label": "2"},{"label": "New setting"}]}]} />

How many replicas will be in the same rendezvous hash group for outdated parts cleanup.
Only available in ClickHouse Cloud.

<h2 id="shared_merge_tree_partitions_hint_ratio_to_reload_merge_pred_for_mutations">
  shared\_merge\_tree\_partitions\_hint\_ratio\_to\_reload\_merge\_pred\_for\_mutations
</h2>

<SettingsInfoBlock type="Float" default_value="0.5" />

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

<h2 id="shared_merge_tree_parts_load_batch_size">
  shared\_merge\_tree\_parts\_load\_batch\_size
</h2>

<SettingsInfoBlock type="UInt64" default_value="32" />

Amount of fetch parts metadata jobs to schedule at once. Only available in
ClickHouse Cloud

<h2 id="shared_merge_tree_postpone_next_merge_for_locally_merged_parts_ms">
  shared\_merge\_tree\_postpone\_next\_merge\_for\_locally\_merged\_parts\_ms
</h2>

<SettingsInfoBlock type="UInt64" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "0"},{"label": "Cloud sync"}]}]} />

Time to keep a locally merged part without starting a new merge containing
this part. Gives other replicas a chance fetch the part and start this merge.
Only available in ClickHouse Cloud.

<h2 id="shared_merge_tree_postpone_next_merge_for_locally_merged_parts_rows_threshold">
  shared\_merge\_tree\_postpone\_next\_merge\_for\_locally\_merged\_parts\_rows\_threshold
</h2>

<SettingsInfoBlock type="UInt64" default_value="1000000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1000000"},{"label": "Cloud sync"}]}]} />

Minimum size of part (in rows) to postpone assigning a next merge just after
merging it locally. Only available in ClickHouse Cloud.

<h2 id="shared_merge_tree_range_for_merge_window_size">
  shared\_merge\_tree\_range\_for\_merge\_window\_size
</h2>

<SettingsInfoBlock type="UInt64" default_value="10" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "10"},{"label": "Cloud sync"}]}]} />

Window size (in block numbers) used to distribute merge assignment across
replicas. Parts within the same window are assigned to the same replicas.
Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_read_virtual_parts_from_leader">
  shared\_merge\_tree\_read\_virtual\_parts\_from\_leader
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1"},{"label": "Cloud sync"}]}]} />

Read virtual parts from leader when possible. Only available in ClickHouse
Cloud

<h2 id="shared_merge_tree_replica_set_max_lifetime_seconds">
  shared\_merge\_tree\_replica\_set\_max\_lifetime\_seconds
</h2>

<SettingsInfoBlock type="Seconds" default_value="1800" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.4"},{"label": "1800"},{"label": "Increase default replica set background update interval to 30 minutes"}]}, {"id": "row-2","items": [{"label": "26.2"},{"label": "300"},{"label": "New setting"}]}]} />

How often replicas will try to update replica set in background. Next run is jittered
uniformly in \[0, value] seconds. Exception: value = 0 does not follow that contract;
the implementation applies a minimum of 200 ms, so the next run is jittered in \[0, 200] ms.

<h2 id="shared_merge_tree_try_fetch_part_in_memory_data_from_replicas">
  shared\_merge\_tree\_try\_fetch\_part\_in\_memory\_data\_from\_replicas
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "0"},{"label": "New setting to fetch parts data from other replicas"}]}]} />

If enabled all the replicas try to fetch part in memory data (like primary
key, partition info and so on) from other replicas where it already exists.

<h2 id="shared_merge_tree_try_fetch_part_in_memory_data_from_replicas_on_startup">
  shared\_merge\_tree\_try\_fetch\_part\_in\_memory\_data\_from\_replicas\_on\_startup
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.6"},{"label": "0"},{"label": "New setting which allows SMT download parts data from replicas instead of S3 on startup"}]}]} />

If enabled all the replicas try to fetch part in memory data (like primary
key, partition info and so on) on startup from other replicas where it already exists.

<h2 id="shared_merge_tree_update_replica_flags_delay_ms">
  shared\_merge\_tree\_update\_replica\_flags\_delay\_ms
</h2>

<SettingsInfoBlock type="Milliseconds" default_value="30000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.8"},{"label": "30000"},{"label": "New setting"}]}]} />

How often replica will try to reload it's flags according to background schedule.

<h2 id="shared_merge_tree_use_metadata_hints_cache">
  shared\_merge\_tree\_use\_metadata\_hints\_cache
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "1"},{"label": "Cloud sync"}]}]} />

Enables requesting FS cache hints from in-memory
cache on other replicas. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_use_outdated_parts_compact_format">
  shared\_merge\_tree\_use\_outdated\_parts\_compact\_format
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.9"},{"label": "1"},{"label": "Enable outdated parts v3 by default"}]}, {"id": "row-2","items": [{"label": "25.1"},{"label": "0"},{"label": "Cloud sync"}]}]} />

Use compact format for outdated parts: reduces load to Keeper, improves
outdated parts processing. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_use_too_many_parts_count_from_virtual_parts">
  shared\_merge\_tree\_use\_too\_many\_parts\_count\_from\_virtual\_parts
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.1"},{"label": "0"},{"label": "Cloud sync"}]}]} />

If enabled too many parts counter will rely on shared data in Keeper, not on
local replica state. Only available in ClickHouse Cloud

<h2 id="shared_merge_tree_use_zookeeper_connection_pool">
  shared\_merge\_tree\_use\_zookeeper\_connection\_pool
</h2>

<SettingsInfoBlock type="Bool" default_value="0" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.3"},{"label": "0"},{"label": "New setting"}]}]} />

If enabled, SharedMergeTree uses one of server-level pooled ZooKeeper sessions.

<h2 id="shared_merge_tree_virtual_parts_discovery_batch">
  shared\_merge\_tree\_virtual\_parts\_discovery\_batch
</h2>

<SettingsInfoBlock type="UInt64" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.8"},{"label": "1"},{"label": "New setting"}]}]} />

How many partition discoveries should be packed into batch

<h2 id="shared_merge_tree_virtual_parts_partition_atomic_discovery">
  shared\_merge\_tree\_virtual\_parts\_partition\_atomic\_discovery
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.7"},{"label": "1"},{"label": "New setting"}]}]} />

Will SMT discover virtual parts partition atomically with extra data fetch and watches setup.
