> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> このテーブルには、ClickHouseサーバーに関する警告メッセージが含まれています。

# system.warnings

<Info>
  **ClickHouse Cloud でのクエリ**

  このシステムテーブルのデータは、ClickHouse Cloud の各ノードにローカルに保持されています。したがって、すべてのデータを完全に把握するには、`clusterAllReplicas` 関数を使用する必要があります。詳細については、[こちら](/ja/reference/system-tables/overview#system-tables-in-clickhouse-cloud)を参照してください。
</Info>

<div id="description">
  ## 説明
</div>

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

このテーブルは、次の設定で構成できます。

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

<div id="columns">
  ## カラム
</div>

* `message` ([String](/ja/reference/data-types/string)) — 警告メッセージ。
* `message_format_string` ([LowCardinality(String)](/ja/reference/data-types/string)) — メッセージの整形に使用されるフォーマット文字列。

<div id="example">
  ## 例
</div>

```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 {}.
```
