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

# os_threads_* session settings

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

## os\_threads\_nice\_value\_materialized\_view

Type

Int32

Default

0

Linux nice value for materialized view threads. Lower values mean higher CPU priority.

Requires CAP\_SYS\_NICE capability, otherwise no-op.

Possible values: -20 to 19.

## os\_threads\_nice\_value\_query

**Aliases**: `os_thread_priority`

Type

Int32

Default

0

Linux nice value for query processing threads. Lower values mean higher CPU priority.

Requires CAP\_SYS\_NICE capability, otherwise no-op.

Possible values: -20 to 19.
