这些设置可在 system.settings 中找到,并由 源代码 自动生成。
cloud_mode
类型
Bool
默认值
0
Cloud 模式
Cloud 默认值:1。
cloud_mode_engine
类型
UInt64
默认值
1
Cloud 中允许使用的引擎家族。
- 0 - 允许所有内容
- 1 - 将 DDLs 重写为使用 *ReplicatedMergeTree
- 2 - 将 DDLs 重写为使用 SharedMergeTree
- 3 - 将 DDLs 重写为使用 SharedMergeTree,除非显式指定了远程 disk
- 4 - 与 3 相同,另外使用 Alias 而不是 Distributed (Alias 表将指向 Distributed 表的目标表,因此会使用相应的本地表)
使用 UInt64 以尽量减少公共部分
Cloud 默认值:2。