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

tables_loader_background_pool_size

Sets the number of threads performing asynchronous load jobs in background pool. The background pool is used for loading tables asynchronously after server start in case there are no queries waiting for the table. It could be beneficial to keep low number of threads in background pool if there are a lot of tables. It will reserve CPU resources for concurrent query execution.
A value of 0 means all available CPUs will be used.

tables_loader_foreground_pool_size

Sets the number of threads performing load jobs in foreground pool. The foreground pool is used for loading table synchronously before server start listening on a port and for loading tables that are waited for. Foreground pool has higher priority than background pool. It means that no job starts in background pool while there are jobs running in foreground pool.
A value of 0 means all available CPUs will be used.
Last modified on July 23, 2026