> ## 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.

> クォータ情報を含むシステムテーブル。

# system.quotas

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

[クォータ](/ja/reference/system-tables/quotas) に関する情報が含まれます。

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

* `name` ([String](/ja/reference/data-types)) — クォータ名。
* `id` ([UUID](/ja/reference/data-types)) — クォータ ID。
* `storage` ([String](/ja/reference/data-types)) — クォータの保存先。指定可能な値: users.xml ファイルでクォータが設定されている場合は 'users.xml'、SQL クエリでクォータが設定されている場合は 'disk'。
* `keys` ([Array(Enum8('user\_name' = 1, 'ip\_address' = 2, 'forwarded\_ip\_address' = 3, 'client\_key' = 4, 'normalized\_query\_hash' = 7))](/ja/reference/data-types)) — Key は、クォータをどのように共有するかを指定します。2 つの connection が同じクォータと Key を使用する場合、同じ量のリソースを共有します。値: \[] — すべてのユーザーで同じクォータを共有します、\['user\_name'] — 同じユーザー名の connection で同じクォータを共有します、\['ip\_address'] — 同じ IP アドレスからの connection で同じクォータを共有します。\['client\_key'] — 同じ Key を持つ connection で同じクォータを共有します。Key はクライアントが明示的に指定する必要があります。clickhouse-client を使用する場合は、`--quota_key` パラメータに Key の値を渡すか、クライアントの設定ファイルで `quota_key` パラメータを使用します。HTTP インターフェイスを使用する場合は、X-ClickHouse-Quota header を使用します。\['user\_name', 'client\_key'] — 同じ client\_key を持つ connection で同じクォータを共有します。クライアントから Key が指定されない場合、クォータは `user_name` ごとに追跡されます。\['client\_key', 'ip\_address'] — 同じ client\_key を持つ connection で同じクォータを共有します。クライアントから Key が指定されない場合、クォータは ip\_address ごとに追跡されます。
* `durations` ([Array(UInt32)](/ja/reference/data-types)) — 秒単位の時間間隔の長さ。
* `apply_to_all` ([UInt8](/ja/reference/data-types)) — 論理値。クォータがどのユーザーに適用されるかを示します。値: 0 — クォータは apply\_to\_list で指定したユーザーに適用されます。1 — クォータは apply\_to\_except に列挙されたユーザーを除くすべてのユーザーに適用されます。
* `apply_to_list` ([Array(String)](/ja/reference/data-types)) — クォータを適用するユーザー名/ロールの一覧。
* `apply_to_except` ([Array(String)](/ja/reference/data-types)) — クォータを適用しないユーザー名/ロールの一覧。

<div id="see-also">
  ## 関連項目
</div>

* [SHOW QUOTAS](/ja/reference/statements/show#show-quotas)
