These settings are available in system.settings and are autogenerated from source.
distributed_plan_default_reader_bucket_count
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | 8 | New experimental setting. |
Default number of tasks for parallel reading in distributed query. Tasks are spread across between replicas. Used by the rule-based distributed planner. The cost-based optimizer chooses the read fan-out by estimated cost and does not use this setting.
distributed_plan_default_shuffle_join_bucket_count
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | 8 | New experimental setting. |
Default number of buckets for distributed shuffle-hash-join. Used by the rule-based distributed planner. The cost-based optimizer chooses the fan-out by estimated cost and does not use this setting.
distributed_plan_execute_locally
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | 0 | New experimental setting. |
Run all tasks of a distributed query plan locally. Useful for testing and debugging.
distributed_plan_force_exchange_kind
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | New experimental setting. |
Force specified kind of Exchange operators between distributed query stages.
Possible values:
- ‘’ - do not force any kind of Exchange operators, let the optimizer choose,
- ‘Persisted’ - use temporary files in object storage,
- ‘Streaming’ - stream exchange data over network.
distributed_plan_force_shuffle_aggregation
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.7 | 0 | New experimental setting |
Use Shuffle aggregation strategy instead of PartialAggregation + Merge in distributed query plan.
distributed_plan_max_rows_to_broadcast
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 25.7 | 20000 | New experimental setting. |
Maximum rows to use broadcast join instead of shuffle join in distributed query plan. A heuristic for the rule-based distributed planner. When the cost-based optimizer is enabled, the broadcast-vs-shuffle choice is made by estimated cost and this setting has no effect.
distributed_plan_optimize_exchanges
Version history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | 1 | New experimental setting. |
Removes unnecessary exchanges in distributed query plan. Disable it for debugging.
distributed_plan_prefer_replicas_over_workers
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 26.4 | 0 | New setting to serialize distributed plan for replicas |
Serialize the distributed query plan for execution at replicas.
distributed_plan_workers_num
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 26.6 | 0 | New experimental setting for how many stateless workers to lease for a distributed query. Zero disables leasing. |
How many stateless workers will be used to execute this query. Zero disables stateless-worker leasing for distributed plans.
distributed_plan_workers_provisioning_timeout_ms
Experimental featureVersion history
| Version | Default value | Comment |
|---|---|---|
| 26.9 | 10000 | New setting bounding how long a query waits for leased stateless workers to become reachable before execution; `compatibility` below 26.9 restores the previous no-wait behavior. |
Total wall-clock time, in milliseconds, a query may spend provisioning stateless workers before execution: leasing them from the discovery service and verifying they are reachable. The query blocks up to this budget for the leased workers to become ready; when it elapses the query proceeds with the workers verified so far, or fails if none became available. Zero waits only for the initial lease-and-verify pass (no retries).