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

# collect_hash_* 会话设置

> ClickHouse 在 collect_hash_* 生成组中的会话设置。

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

## collect\_hash\_table\_stats\_during\_aggregation

类型

Bool

默认值

1

启用收集哈希表统计信息，以优化内存分配

## collect\_hash\_table\_stats\_during\_joins

类型

Bool

默认值

1

启用收集哈希表统计信息，以优化内存分配
