Skip to main content
Look up the setting in the system.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

The values mean: 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:
The same information is shown for every setting on the server settings 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).
  2. The server checks its configuration files for changes every config_reload_interval_ms milliseconds (2000 by default) and reloads them when they change. To reload at once, run SYSTEM RELOAD CONFIG.
  3. If the setting is No, or IncreaseOnly and you lowered it, restart the server.

Verify the value in use

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.