설명
이 테이블은 ClickHouse 서버에 대한 경고를 표시합니다. 같은 유형의 경고는 하나로 합쳐집니다. 예를 들어 attached 상태인 데이터베이스 수 N이 구성 가능한 임계값 T를 초과하면, N개의 개별 항목 대신 현재 값 N이 포함된 단일 항목이 표시됩니다. 현재 값이 임계값 아래로 내려가면 해당 항목은 테이블에서 제거됩니다.
이 테이블은 다음 설정으로 구성할 수 있습니다.
- 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 {}.