Settings Overview
Overview
XML-based Settings Profiles and configuration files are currently not supported for ClickHouse Cloud. To specify settings for your ClickHouse Cloud service, you must use SQL-driven Settings Profiles.
There are following main groups of ClickHouse settings:
- Global server settings
- Session settings
- Query settings
- Background operations settings
Global settings apply by default unless overridden at further levels. Session settings can be specified via profiles, user configuration and SET commands. Query settings can be provided via SETTINGS clause and are applied to individual queries. Background operations settings are applied to Mutations, Merges and potentially other operations, executed asynchronously in the background.
Viewing non-default settings
To view which settings have been changed from their default value you can query the
system.settings table:
If no settings have been changed from their default value, then ClickHouse will return nothing.
To check the value of a particular setting, you can specify the name of the
setting in your query:
Which will return something like this:
Further reading
- See global server settings to learn more about configuring your ClickHouse server at the global server level.
- See session settings to learn more about configuring your ClickHouse server at the session level.
- See context hierarchy to learn more about configuration processing by Clickhouse.