メインコンテンツへスキップ
ClickHouse Cloud でのクエリこのシステムテーブルのデータは、ClickHouse Cloud の各ノードにローカルに保持されています。したがって、すべてのデータを完全に把握するには、clusterAllReplicas 関数を使用する必要があります。詳細については、こちらを参照してください。

説明

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

カラム

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