Skip to main content
These settings configure the ClickHouse server and are autogenerated from ClickHouse source.

distributed_ddl

Manage executing distributed ddl queries (CREATE, DROP, ALTER, RENAME) on cluster. Works only if ZooKeeper is enabled. The configurable settings within <distributed_ddl> include: Example

distributed_ddl_use_initial_user_and_roles

If enabled, ON CLUSTER queries will preserve and use the initiator’s user and roles for execution on remote shards. This ensures consistent access control across the cluster but requires that the user and roles exist on all nodes.
Last modified on July 23, 2026