Skip to main content
These settings configure the ClickHouse server and are autogenerated from ClickHouse source.

mlock_executable

Perform <mlockall> after startup to lower first queries latency and to prevent clickhouse executable from being paged out under high IO load.
Enabling this option is recommended but will lead to increased startup time for up to a few seconds. Keep in mind that this setting would not work without “CAP_IPC_LOCK” capability.
Example

mlock_executable_min_total_memory_amount_bytes

The minimum memory threshold for performing <mlockall>
Last modified on July 23, 2026