Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

cloud_mode_* session settings

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

cloud_mode

Type
Bool
Default
0

Cloud mode

Cloud default value: 1.

cloud_mode_engine

Type
UInt64
Default
1

The engine family allowed in Cloud.

  • 0 - allow everything
  • 1 - rewrite DDLs to use *ReplicatedMergeTree
  • 2 - rewrite DDLs to use SharedMergeTree
  • 3 - rewrite DDLs to use SharedMergeTree except when explicitly passed remote disk is specified
  • 4 - same as 3, plus additionally use Alias instead of Distributed (the Alias table will point to the destination table of the Distributed table, so it will use the corresponding local table)

UInt64 to minimize public part

Cloud default value: 2.

Navigation