الوصف
يعرض هذا الجدول تحذيرات بشأن خادم ClickHouse. تُجمَع التحذيرات من النوع نفسه في تحذير واحد. على سبيل المثال، إذا تجاوز العدد 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 {}.