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

説明

このテーブルは、ZooKeeper に関する統合された内部情報を出力し、ノードは設定から取得されます。 可用性 system.zookeeper_info は、ClickHouse Keeper または ZooKeeper が設定されている場合にのみ存在します。いずれも設定されていないサーバーではこのテーブルは存在せず、このテーブルに対するクエリは UNKNOWN_TABLE で失敗します。

Columns

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