Skip to main content

Description

Contains information about session settings for current user.

Columns

  • name (String) β€” Setting name.
  • value (String) β€” Setting value.
  • changed (UInt8) β€” Shows whether the setting was explicitly defined in the config or explicitly changed.
  • description (String) β€” Short setting description.
  • min (Nullable(String)) β€” Minimum value of the setting, if any is set via constraints. If the setting has no minimum value, contains NULL.
  • max (Nullable(String)) β€” Maximum value of the setting, if any is set via constraints. If the setting has no maximum value, contains NULL.
  • disallowed_values (Array(String)) β€” List of disallowed values
  • readonly (UInt8) β€” Shows whether the current user can change the setting: 0 β€” Current user can change the setting, 1 β€” Current user can’t change the setting.
  • type (String) β€” The type of the value that can be assigned to this setting.
  • default (String) β€” Setting default value.
  • alias_for (String) β€” The name of the original setting if the setting is an alias for another setting.
  • is_obsolete (UInt8) β€” Shows whether a setting is obsolete.
  • tier (Enum8(β€˜Production’ = 0, β€˜Obsolete’ = 4, β€˜Experimental’ = 8, β€˜Beta’ = 12)) β€” Support level for this feature. ClickHouse features are organized in tiers, varying depending on the current status of their development and the expectations one might have when using them:
  • PRODUCTION: The feature is stable, safe to use and does not have issues interacting with other PRODUCTION features.
  • BETA: The feature is stable and safe. The outcome of using it together with other features is unknown and correctness is not guaranteed. Testing and reports are welcome.
  • EXPERIMENTAL: The feature is under development. Only intended for developers and ClickHouse enthusiasts. The feature might or might not work and could be removed at any time.
  • OBSOLETE: No longer supported. Either it is already removed or it will be removed in future releases.

Example

The following example shows how to get information about settings which name contains min_i.
Using of WHERE changed can be useful, for example, when you want to check:
  • Whether settings in configuration files are loaded correctly and are in use.
  • Settings that changed in the current session.

See Also

Last modified on June 12, 2026