説明
このテーブルには、ClickHouseサーバーに関する警告が表示されます。 同じ種類の警告は、1 つの警告にまとめられます。 たとえば、attached 状態のデータベース数 N が設定可能なしきい値 T を超えた場合、N 個の個別のエントリではなく、現在の値 N を含む 1 つのエントリが表示されます。 現在の値がしきい値を下回ると、そのエントリはテーブルから削除されます。
このテーブルは、次の設定で構成できます。
- max_table_num_to_warn
- max_database_num_to_warn
- max_dictionary_num_to_warn
- max_view_num_to_warn
- max_part_num_to_warn
- max_pending_mutations_to_warn
- max_pending_mutations_execution_time_to_warn
- max_named_collection_num_to_warn
- resource_overload_warnings
カラム
message(String) — 警告メッセージ。message_format_string(LowCardinality(String)) — メッセージの整形に使用されるフォーマット文字列。
例
SELECT * FROM system.warnings LIMIT 2 \G;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 {}.