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

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

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

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

すべてのユーザーのクォータ使用状況。

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

* `quota_name` ([String](/ja/reference/data-types)) — クォータ名。
* `quota_key` ([String](/ja/reference/data-types)) — キー値。
* `is_current` ([UInt8](/ja/reference/data-types)) — 現在のユーザーのクォータ使用状況。
* `start_time` ([Nullable(DateTime)](/ja/reference/data-types)) — リソース消費量の計算開始時刻。
* `end_time` ([Nullable(DateTime)](/ja/reference/data-types)) — リソース消費量の計算終了時刻。
* `duration` ([Nullable(UInt32)](/ja/reference/data-types)) — リソース消費量の計算対象となる時間間隔の長さ (秒) 。
* `queries` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在実行されたクエリの数。
* `max_queries` ([Nullable(UInt64)](/ja/reference/data-types)) — 実行可能な全種類のクエリの最大許容数。
* `query_selects` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在実行された SELECT クエリの数。
* `max_query_selects` ([Nullable(UInt64)](/ja/reference/data-types)) — 実行可能な SELECT クエリの最大許容数。
* `query_inserts` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在実行された INSERT クエリの数。
* `max_query_inserts` ([Nullable(UInt64)](/ja/reference/data-types)) — 実行可能な INSERT クエリの最大許容数。
* `errors` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在エラーになったクエリの数。
* `max_errors` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、エラーになったクエリの最大数。
* `result_rows` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、全クエリの結果セット内の合計行数。
* `max_result_rows` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、全クエリの結果セット内の合計行数の最大値。
* `result_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、全クエリの結果セット内の合計バイト数。
* `max_result_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、全クエリの結果セット内の合計バイト数の最大値。
* `read_rows` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、全クエリの実行中に読み取られた合計行数。
* `max_read_rows` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、全クエリの実行中に読み取る行数の最大値。
* `read_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、全クエリの実行中に読み取られた合計バイト数。
* `max_read_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、全クエリの実行中に読み取るバイト数の最大値。
* `execution_time` ([Nullable(Float64)](/ja/reference/data-types)) — 現在の期間内にクエリの実行に費やされた合計時間 (ナノ秒)
* `max_execution_time` ([Nullable(Float64)](/ja/reference/data-types)) — 指定期間内に全クエリの実行に許容される合計時間の最大値 (ナノ秒)
* `written_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、全クエリの実行中に書き込まれた合計バイト数。
* `max_written_bytes` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、全クエリの実行中に書き込むバイト数の最大値。
* `failed_sequential_authentications` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、連続した認証失敗の数。
* `max_failed_sequential_authentications` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、連続した認証失敗の最大数。
* `queries_per_normalized_hash` ([Nullable(UInt64)](/ja/reference/data-types)) — 現在の期間内における、単一の正規化クエリの最大実行回数。
* `max_queries_per_normalized_hash` ([Nullable(UInt64)](/ja/reference/data-types)) — 指定期間内に許容される、単一の正規化クエリの最大実行回数。

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

* [SHOW QUOTA](/ja/reference/statements/show#show-quota))
