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

> 利用可能なすべての Keeper ノードの内部情報を表示するシステムテーブル。

# system.zookeeper_info

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

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

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

このテーブルは、ZooKeeper に関する統合された内部情報を出力し、ノードは設定から取得されます。

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

* `zookeeper_cluster_name` ([String](/ja/reference/data-types/string)) — ZooKeeper クラスター名。
* `host` ([String](/ja/reference/data-types/string)) — ClickHouse が接続した ZooKeeper ノードのホスト名または IP。
* `port` ([UInt16](/ja/reference/data-types/int-uint)) — ClickHouse が接続していた ZooKeeper ノードのポート。
* `index` ([Nullable(UInt8)](/ja/reference/data-types/int-uint)) — ClickHouse が接続している ZooKeeper ノードの索引。索引値は ZooKeeper の設定に基づきます。接続されていない場合、このカラムは NULL になります。
* `is_connected` ([Nullable(UInt8)](/ja/reference/data-types/int-uint)) — ZooKeeper に接続されているかどうか。
* `is_readonly` ([UInt8](/ja/reference/data-types/int-uint)) — 読み取り専用かどうかを示します。
* `version` ([String](/ja/reference/data-types/string)) — ZooKeeper のバージョンです。
* `avg_latency` ([UInt64](/ja/reference/data-types/int-uint)) — 平均レイテンシ。
* `max_latency` ([UInt64](/ja/reference/data-types/int-uint)) — 最大レイテンシ値。
* `min_latency` ([UInt64](/ja/reference/data-types/int-uint)) — 最小レイテンシ。
* `packets_received` ([UInt64](/ja/reference/data-types/int-uint)) — 受信したパケットの数。
* `packets_sent` ([UInt64](/ja/reference/data-types/int-uint)) — 送信されたパケットの数。
* `outstanding_requests` ([UInt64](/ja/reference/data-types/int-uint)) — 保留中のリクエスト数。
* `server_state` ([String](/ja/reference/data-types/string)) — サーバーの状態。
* `is_leader` ([UInt8](/ja/reference/data-types/int-uint)) — これがZooKeeperのleaderかどうか。
* `znode_count` ([UInt64](/ja/reference/data-types/int-uint)) — znode数。
* `watch_count` ([UInt64](/ja/reference/data-types/int-uint)) — watch の件数。
* `ephemerals_count` ([UInt64](/ja/reference/data-types/int-uint)) — ephemeral 値の数。
* `approximate_data_size` ([UInt64](/ja/reference/data-types/int-uint)) — 概算データサイズ。
* `followers` ([UInt64](/ja/reference/data-types/int-uint)) — リーダーに従うフォロワー。このフィールドはリーダーでのみ公開されます。
* `synced_followers` ([UInt64](/ja/reference/data-types/int-uint)) — リーダーの同期済みフォロワー数。このフィールドはリーダーでのみ公開されます。
* `pending_syncs` ([UInt64](/ja/reference/data-types/int-uint)) — リーダーで保留中の同期数。このフィールドはリーダーでのみ公開されます。
* `open_file_descriptor_count` ([UInt64](/ja/reference/data-types/int-uint)) — 開いているファイルディスクリプタの数。Unix プラットフォームでのみ利用できます。
* `max_file_descriptor_count` ([UInt64](/ja/reference/data-types/int-uint)) — ファイルディスクリプタの最大数。Unix プラットフォームでのみ利用できます。
* `connections` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper への接続数。
* `outstanding` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の未処理リクエスト数。
* `zxid` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeperの zxid。
* `node_count` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper のノード数。
* `snapshot_dir_size` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper のスナップショットディレクトリのサイズ。
* `log_dir_size` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper のログディレクトリのサイズ。
* `first_log_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の先頭ログの索引。
* `first_log_term` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の最初のログターム。
* `last_log_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の最新のログ索引。
* `last_log_term` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の最後のログの term。
* `last_committed_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper における最後にコミットされたインデックス。
* `leader_committed_log_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper leader のコミット済みログ索引。
* `target_committed_log_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の対象のコミット済みログインデックス。
* `last_snapshot_idx` ([UInt64](/ja/reference/data-types/int-uint)) — ZooKeeper の最後のスナップショットの索引。
