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

# unique_key_* session settings

> ClickHouse session settings in the unique_key_* 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).

## unique\_key\_max\_encoded\_size

[Experimental feature](https://clickhouse.com/docs/reference/settings/beta-and-experimental-features.md#experimental-features)

Type

UInt64

Default

256

Maximum size (in bytes) of the order-preserving binary encoding of a single `UNIQUE KEY` row.

## unique\_key\_probe\_implementation

[Experimental feature](https://clickhouse.com/docs/reference/settings/beta-and-experimental-features.md#experimental-features)

Type

UniqueKeyProbeImplementation

Default

auto

Selects the UNIQUE KEY write-path probe implementation. Currently only a single-threaded
baseline exists, so `auto` and `simple` both resolve to it.

Reserved: this setting has no effect yet — the value is not read until the UNIQUE KEY INSERT
write path that constructs the probe is wired up. Declared now so the lever ships with the
implementation.
