这些设置可在 system.settings 中查看,并根据 源代码 自动生成。
enable_filesystem_cache
类型
Bool
默认值
1
对远程文件系统使用缓存。此设置不会启用或关闭 disk 的缓存 (必须通过 disk config 进行配置) ,但如果需要,可以让某些查询绕过缓存。
enable_filesystem_cache_log
类型
Bool
默认值
0
允许为每个查询记录文件系统缓存日志
enable_filesystem_cache_on_write_operations
类型
Bool
默认值
0
启用或禁用 write-through 缓存。若设为 false,则对写入操作禁用 write-through 缓存。若设为 true,则只要在 server config 的缓存磁盘配置部分启用了 cache_on_write_operations,write-through 缓存就会生效。
更多详情,请参见“使用本地缓存”。
Cloud 默认值:1。
enable_filesystem_read_prefetches_log
类型
Bool
默认值
0
在查询期间将日志写入 system.filesystem prefetch_log。仅用于测试或调试,不建议默认启用