Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

read_from_* 会话设置

这些设置可在 system.settings 中查看,并由 源代码 自动生成。

read_from_distributed_cache_if_exists_otherwise_bypass_cache

仅限 ClickHouse Cloud
类型
Bool
默认值
0
版本历史
版本默认值注释
25.100新增设置

仅在 ClickHouse Cloud 中生效。与 read_from_filesystem_cache_if_exists_otherwise_bypass_cache 相同,但作用于分布式缓存。

read_from_filesystem_cache_if_exists_otherwise_bypass_cache

类型
Bool
默认值
0

允许以被动模式使用文件系统缓存——利用现有缓存条目,但不再向缓存中写入新的条目。如果对高负载的临时查询启用此设置,而对短时实时查询保持禁用,就有助于避免高负载查询造成缓存抖动,并提升系统整体效率。

read_from_page_cache_if_exists_otherwise_bypass_cache

类型
Bool
默认值
0
版本历史
版本默认值注释
24.30新增用户态页缓存

以被动模式使用用户态页缓存,类似于 read_from_filesystem_cache_if_exists_otherwise_bypass_cache。

Navigation