Skip to main content
These settings are available in system.settings and are autogenerated from source.

max_distributed_connections

The maximum number of simultaneous connections with remote servers for distributed processing of a single query to a single Distributed table. We recommend setting a value no less than the number of servers in the cluster. The following parameters are only used when creating Distributed tables (and when launching a server), so there is no reason to change them at runtime.

max_distributed_depth

Limits the maximum depth of recursive queries for Distributed tables. If the value is exceeded, the server throws an exception. Possible values:
  • Positive integer.
  • 0 — Unlimited depth.
Last modified on July 23, 2026