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

# preferred_* session settings

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

## preferred\_block\_size\_bytes

Type

UInt64

Default

1000000

This setting adjusts the data block size for query processing and represents additional fine-tuning to the more rough 'max\_block\_size' setting. If the columns are large and with 'max\_block\_size' rows the block size is likely to be larger than the specified amount of bytes, its size will be lowered for better CPU cache locality.

## preferred\_max\_column\_in\_block\_size\_bytes

Type

UInt64

Default

0

Limit on max column size in block while reading. Helps to decrease cache misses count. Should be close to L2 cache size.

## preferred\_optimize\_projection\_name

If it is set to a non-empty string, ClickHouse will try to apply specified projection in query.

Possible values:

* string: name of preferred projection
