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

# low_cardinality_* session settings

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

## low\_cardinality\_allow\_in\_native\_format

Type

Bool

Default

1

Allows or restricts using the [LowCardinality](https://clickhouse.com/docs/reference/data-types/lowcardinality.md) data type with the [Native](https://clickhouse.com/docs/reference/formats/Native.md) format.

If usage of `LowCardinality` is restricted, ClickHouse server converts `LowCardinality`-columns to ordinary ones for `SELECT` queries, and convert ordinary columns to `LowCardinality`-columns for `INSERT` queries.

This setting is required mainly for third-party clients which do not support `LowCardinality` data type.

Possible values:

* 1 — Usage of `LowCardinality` is not restricted.
* 0 — Usage of `LowCardinality` is restricted.

## low\_cardinality\_max\_dictionary\_size

Type

UInt64

Default

8192

Sets a maximum size in rows of a shared global dictionary for the [LowCardinality](https://clickhouse.com/docs/reference/data-types/lowcardinality.md) data type that can be written to a storage file system. This setting prevents issues with RAM in case of unlimited dictionary growth. All the data that can't be encoded due to maximum dictionary size limitation ClickHouse writes in an ordinary method.

Possible values:

* Any positive integer.

## low\_cardinality\_use\_single\_dictionary\_for\_part

Type

Bool

Default

0

Turns on or turns off using of single dictionary for the data part.

By default, the ClickHouse server monitors the size of dictionaries and if a dictionary overflows then the server starts to write the next one. To prohibit creating several dictionaries set `low_cardinality_use_single_dictionary_for_part = 1`.

Possible values:

* 1 — Creating several dictionaries for the data part is prohibited.
* 0 — Creating several dictionaries for the data part is not prohibited.
