Back to Clickhouse

system.warnings

docs/en/operations/system-tables/system_warnings.md

26.4.1.1-new2.1 KB
Original Source

import SystemTableCloud from '@site/docs/_snippets/_system_table_cloud.md';

system.warnings

This table shows warnings about the ClickHouse server. Warnings of the same type are combined into a single warning. For example, if the number N of attached databases exceeds a configurable threshold T, a single entry containing the current value N is shown instead of N separate entries. If current value drops below the threshold, the entry is removed from the table.

The table can be configured with these settings:

Columns:

Example

Query:

sql
 SELECT * FROM system.warnings LIMIT 2 \G;

Result:

text
Row 1:
──────
message:               The number of active parts is more than 10.
message_format_string: The number of active parts is more than {}.

Row 2:
──────
message:               The number of attached databases is more than 2.
message_format_string: The number of attached databases is more than {}.