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

# How to check whether a server setting can be changed without a restart

> Use the changeable_without_restart column of system.server_settings to find out whether a change to a server setting is applied on configuration reload or needs a restart.

Look up the setting in the [`system.server_settings`](https://clickhouse.com/docs/reference/system-tables/server_settings) table. The `changeable_without_restart` column says whether the server applies a new value when it reloads its configuration file, or only when it starts. The column is an `Enum8` with four values, not a boolean.

This article is about self-managed ClickHouse, where you edit the server configuration files yourself.

## Check a setting

```sql theme={null}
SELECT name, changeable_without_restart
FROM system.server_settings
WHERE name IN ('max_concurrent_queries', 'mark_cache_size', 'background_schedule_pool_size', 'max_thread_pool_size', 'async_insert_threads')
ORDER BY name;
```

```text theme={null}
   ┌─name──────────────────────────┬─changeable_without_restart─┐
1. │ async_insert_threads          │ No                         │
2. │ background_schedule_pool_size │ IncreaseOnly               │
3. │ mark_cache_size               │ Yes                        │
4. │ max_concurrent_queries        │ Yes                        │
5. │ max_thread_pool_size          │ No                         │
   └───────────────────────────────┴────────────────────────────┘
```

The values mean:

| Value | Meaning |
| - | - |
| `Yes` | The new value is applied when the server reloads its configuration. No restart is needed. |
| `IncreaseOnly` | A larger value is applied on reload. A smaller value is ignored (the server writes a warning to its log) until the next restart. In version 26.12 this covers the sizes of the background pools, such as `background_pool_size` and `background_schedule_pool_size`. |
| `DecreaseOnly` | Reserved for settings that can only be lowered at runtime. No setting uses it in version 26.12. |
| `No` | The setting is read at startup. A change takes effect after a restart. |

Because the column is an enum, compare it with a name instead of a number. A test such as `changeable_without_restart != 0` also matches `IncreaseOnly` and `DecreaseOnly`, which are applied in one direction only:

```sql theme={null}
SELECT name
FROM system.server_settings
WHERE changeable_without_restart = 'Yes'
ORDER BY name;
```

The same information is shown for every setting on the [server settings](https://clickhouse.com/docs/reference/settings/server-settings/settings.md) reference pages.

## How a change is applied

1. Put the new value into a file in the `config.d` directory next to the main configuration file (see [Configuration files](https://clickhouse.com/docs/concepts/features/configuration/server-config/configuration-files.md)).
2. The server checks its configuration files for changes every [`config_reload_interval_ms`](https://clickhouse.com/docs/reference/settings/server-settings/settings/other#config_reload_interval_ms) milliseconds (2000 by default) and reloads them when they change. To reload at once, run [`SYSTEM RELOAD CONFIG`](https://clickhouse.com/docs/reference/statements/system#reload-config).
3. If the setting is `No`, or `IncreaseOnly` and you lowered it, restart the server.

## Verify the value in use

```sql theme={null}
SELECT name, value, default, changed, changeable_without_restart
FROM system.server_settings
WHERE name = 'max_concurrent_queries';
```

`changed` is `1` when the setting is specified in the configuration.

For a setting that can be changed at runtime (`Yes`, `IncreaseOnly`), `value` is the value the running server uses, so you can watch it change after a reload. For a setting marked `No`, `value` is read from the loaded configuration: after you edit the file it can already show the new value although the server still works with the old one until it is restarted.

## What the table does not cover

* Users and their settings defined in `users.xml` or `users.d` are not server settings. The server reloads them on the fly.
* Server-wide defaults for `MergeTree` tables (the `merge_tree` section of the configuration file) are computed once and kept for the lifetime of the server process, including the effect that the `compatibility` setting of the default profile has on them. Changing them requires a restart. To change a setting of one table without a restart, use `ALTER TABLE ... MODIFY SETTING`.

## Related pages

* [`system.server_settings`](https://clickhouse.com/docs/reference/system-tables/server_settings)
* [Server settings](https://clickhouse.com/docs/reference/settings/server-settings/settings.md)
* [Configuration files](https://clickhouse.com/docs/concepts/features/configuration/server-config/configuration-files.md)
