> ## 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.

# distributed_index_analysis_* session settings

> ClickHouse session settings in the distributed_index_analysis_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## distributed\_index\_analysis

[Beta feature](https://clickhouse.com/docs/reference/settings/beta-and-experimental-features.md#beta-features)

Type

Bool

Default

0

Index analysis will be distributed across replicas.
Beneficial for shared storage and huge amount of data in cluster.
Uses replicas from cluster\_for\_parallel\_replicas.

**See also**

* [distributed\_index\_analysis\_for\_non\_shared\_merge\_tree](https://clickhouse.com/docs/reference/settings/session-settings/distributed-index-analysis.md#distributed_index_analysis_for_non_shared_merge_tree)
* [distributed\_index\_analysis\_min\_parts\_to\_activate](https://clickhouse.com/docs/reference/settings/merge-tree-settings/distributed-index.md#distributed_index_analysis_min_parts_to_activate)
* [distributed\_index\_analysis\_min\_indexes\_bytes\_to\_activate](https://clickhouse.com/docs/reference/settings/merge-tree-settings/distributed-index.md#distributed_index_analysis_min_indexes_bytes_to_activate)

## distributed\_index\_analysis\_for\_non\_shared\_merge\_tree

Type

Bool

Default

0

Enable distributed index analysis even for non SharedMergeTree (cloud only engine).

## distributed\_index\_analysis\_only\_on\_coordinator

Type

Bool

Default

0

If enabled, distributed index analysis runs only on the coordinator.
This prevents O(N^2) spawned queries when the predicate contains subqueries (e.g., `IN (SELECT ...)`),
because each follower replica would otherwise independently trigger its own distributed index analysis,
but makes distributed index analysis less efficient if large tables are used in the subqueries.
