> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-parallel-read-in-order-multi-part.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> サーバー設定に関する警告が含まれており、clickhouse-client がサーバーに接続すると直後に表示されます。

# system.warnings

## Description

このテーブルには、ClickHouseサーバーに関する警告が表示されます。
同じ種類の警告は、1つの警告にまとめられます。
例えば、アタッチされたデータベースの数 N が設定可能なしきい値 T を超えた場合、N 個の個別のエントリではなく、現在の値 N を含む単一のエントリが表示されます。
現在の値がしきい値を下回ると、そのエントリはテーブルから削除されます。

このテーブルは、以下の設定で構成できます:

* [max\_table\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max-table#max_table_num_to_warn)
* [max\_database\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max-database#max_database_num_to_warn)
* [max\_dictionary\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max-dictionary#max_dictionary_num_to_warn)
* [max\_view\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max-view#max_view_num_to_warn)
* [max\_part\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max#max_part_num_to_warn)
* [max\_pending\_mutations\_to\_warn](/ja/reference/settings/server-settings/settings/max-pending#max_pending_mutations_to_warn)
* [max\_pending\_mutations\_execution\_time\_to\_warn](/ja/reference/settings/server-settings/settings/max-pending#max_pending_mutations_execution_time_to_warn)
* [max\_named\_collection\_num\_to\_warn](/ja/reference/settings/server-settings/settings/max-named#max_named_collection_num_to_warn)
* [resource\_overload\_warnings](/ja/concepts/features/configuration/settings/server-overload#resource-overload-warnings)

## カラム

* `message` ([String](/ja/reference/data-types/string)) — ClickHouseサーバー が出力した警告メッセージ。
* `message_format_string` ([LowCardinality(String)](/ja/reference/data-types/lowcardinality)) — メッセージの整形に使用された書式文字列。

## 例

```sql title="Query" theme={null}
 SELECT * FROM system.warnings LIMIT 2 \G;
```

```text title="Response" theme={null}
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 {}.
```
