> ## 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.

# query_condition_* 服务器设置

> query_condition_* 生成组中的 ClickHouse 服务器设置。

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

## query\_condition\_cache\_policy

类型 String 默认值 SLRU 无需重启即可更改 No查询条件缓存策略名称。

## query\_condition\_cache\_size

类型

UInt64

默认值

104857600

无需重启即可更改

Yes

查询条件缓存的最大容量。

> [!NOTE]
>
> 此设置可在运行时修改，并立即生效。

## query\_condition\_cache\_size\_ratio

类型 Double 默认值 0.5 无需重启即可更改 No查询条件缓存中受保护队列 (在 SLRU 策略下) 的大小占缓存总大小的比例。
