> ## 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_* session settings

> ClickHouse session settings in the collect_hash_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

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

Type

Bool

Default

1

Enable collecting hash table statistics to optimize memory allocation

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

Type

Bool

Default

1

Enable collecting hash table statistics to optimize memory allocation
