Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

database_replicated_* session settings

These settings are available in system.settings and are autogenerated from source.

database_replicated_allow_explicit_uuid

Type
UInt64
Default
0
Version history
VersionDefault valueComment
24.90Added a new setting to disallow explicitly specifying table UUID

0 - Don’t allow to explicitly specify UUIDs for tables in Replicated databases. 1 - Allow. 2 - Allow, but ignore the specified UUID and generate a random one instead.

database_replicated_allow_heavy_create

Type
Bool
Default
0
Version history
VersionDefault valueComment
24.70Long-running DDL queries (CREATE AS SELECT and POPULATE) for Replicated database engine was forbidden

Allow long-running DDL queries (CREATE AS SELECT and POPULATE) in Replicated database engine. Note that it can block DDL queue for a long time.

database_replicated_allow_only_replicated_engine

Type
Bool
Default
0

Allow to create only Replicated tables in database with engine Replicated

Cloud default value: 1.

database_replicated_allow_replicated_engine_arguments

Type
UInt64
Default
0
Version history
VersionDefault valueComment
24.90Don't allow explicit arguments by default

0 - Don’t allow to explicitly specify ZooKeeper path and replica name for *MergeTree tables in Replicated databases. 1 - Allow. 2 - Allow, but ignore the specified path and use default one instead. 3 - Allow and don’t log a warning.

database_replicated_always_detach_permanently

Type
Bool
Default
0

Execute DETACH TABLE as DETACH TABLE PERMANENTLY if database engine is Replicated

database_replicated_enforce_synchronous_settings

Type
Bool
Default
0

Enforces synchronous waiting for some queries (see also database_atomic_wait_for_drop_and_detach_synchronously, mutations_sync, alter_sync). Not recommended to enable these settings.

database_replicated_initial_query_timeout_sec

Type
UInt64
Default
300

Sets how long initial DDL query should wait for Replicated database to process previous DDL queue entries in seconds.

Possible values:

  • Positive integer.
  • 0 — Unlimited.
Navigation