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

# compile_* 会话设置

> ClickHouse 在 compile_* 组中的会话设置。

这些设置可在 [system.settings](https://clickhouse.com/docs/zh/reference/system-tables/settings.md) 中查看，且根据 [源代码](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp) 自动生成。

## compile\_aggregate\_expressions

类型

Bool

默认值

1

启用或禁用将聚合函数 JIT 编译为原生代码。启用此设置可提升性能。

Possible values:

* 0 — 聚合在不使用 JIT 编译的情况下进行。
* 1 — 聚合使用 JIT 编译进行。

**See Also**

* [min\_count\_to\_compile\_aggregate\_expression](https://clickhouse.com/docs/zh/reference/settings/session-settings/min-count.md#min_count_to_compile_aggregate_expression)

## compile\_expressions

类型

Bool

默认值

1

将一些标量函数和运算符编译为原生代码。

## compile\_regular\_expressions

类型

Bool

默认值

1

将 `match` 和 `extract` 等函数中使用的简单正则表达式编译为原生代码。超出受支持子集的模式会自动回退到通用引擎。

## compile\_sort\_description

类型

Bool

默认值

1

将排序描述编译成原生代码。
