Skip to main content

Description

Shows currently active watches registered by this ClickHouse server on ZooKeeper nodes (including auxiliary ZooKeepers). Each row represents one watch.

Columns

  • zookeeper_name (String) — Name of the ZooKeeper connection (default for the main connection, or the auxiliary name).
  • create_time (DateTime) — Time when the watch was created.
  • create_time_microseconds (DateTime64) — Time when the watch was created with microsecond precision.
  • path (String) — ZooKeeper path being watched.
  • session_id (Int64) — Session ID of the connection that registered the watch.
  • request_xid (Int64) — XID of the request that created the watch.
  • op_num (Enum) — The type of the request that created the watch.
  • watch_type (Enum8) — Watch type. Possible values:
    • Children — watching for changes in the list of child nodes (set by List operations).
    • Exists — watching for node creation or deletion.
    • Data — watching for changes in node data (set by Get operations).
Example:
See Also
Last modified on June 12, 2026