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

read_from_distributed_cache_if_exists_otherwise_bypass_cache

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

read_from_filesystem_cache_if_exists_otherwise_bypass_cache

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

read_from_page_cache_if_exists_otherwise_bypass_cache

以被动模式使用用户态页缓存,类似于 read_from_filesystem_cache_if_exists_otherwise_bypass_cache。
最后修改于 2026年7月24日