> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# distributed_cache_* 服务器设置

> distributed_cache_* 自动生成分组中的 ClickHouse 服务器设置。

这些设置用于配置 ClickHouse 服务器，并由 ClickHouse 源代码自动生成。

## distributed\_cache\_apply\_throttling\_settings\_from\_client

类型 Bool 默认值 1 无需重启即可更改 No缓存服务器是否应使用从客户端接收的限流设置。

## distributed\_cache\_keep\_up\_free\_connections\_ratio

类型 Float 默认值 0.1 无需重启即可更改 否分布式缓存会尽量保持的空闲活动连接数量的软限制。当空闲连接数低于 distributed\_cache\_keep\_up\_free\_connections\_ratio \* max\_connections 时，将关闭活动时间最早的连接，直到该数量重新高于此限制。

## distributed\_cache\_write\_pool\_size

类型 UInt64 默认值 100 无需重启即可更改 No可在后台线程中同时运行的分布式缓存写请求的最大数量 (跨所有查询) 。达到该限制后，将跳过 write-through cache 的写入 (数据仍会写入 object storage) ，因此既不会因等待 slot 而阻塞，也不会创建数量无限增长的线程。临时数据的写入不使用后台线程，因此不受该限制影响。
