Querying in ClickHouse CloudThe data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the
clusterAllReplicas function. See here for further details.Description
This table does not exist if ZooKeeper is not configured. The โsystem.zookeeper_connectionโ table shows current connections to ZooKeeper (including auxiliary ZooKeepers). Each row shows information about one connection.Columns
name(String) โ ZooKeeper clusterโs name.host(String) โ The hostname/IP of the ZooKeeper node that ClickHouse connected to.port(UInt16) โ The port of the ZooKeeper node that ClickHouse connected to.index(Nullable(UInt8)) โ The index of the ZooKeeper node that ClickHouse connected to. The index is from ZooKeeper config. If not connected, this column is NULL.connected_time(DateTime) โ When the connection was established.session_uptime_elapsed_seconds(UInt64) โ Seconds elapsed since the connection was established.is_expired(UInt8) โ Is the current connection expired.keeper_api_version(UInt8) โ Keeper API version.client_id(Int64) โ Session id of the connection.xid(Int64) โ XID of the current session.enabled_feature_flags(Array(Enum16(โFILTERED_LISTโ = 0, โMULTI_READโ = 1, โCHECK_NOT_EXISTSโ = 2, โCREATE_IF_NOT_EXISTSโ = 3, โREMOVE_RECURSIVEโ = 4, โMULTI_WATCHESโ = 5, โCHECK_STATโ = 6, โPERSISTENT_WATCHESโ = 7, โCREATE_WITH_STATSโ = 8, โTRY_REMOVEโ = 9, โLIST_WITH_STAT_AND_DATAโ = 10, โGET_CHILDREN_RECURSIVEโ = 11, โCREATE_TTLโ = 12, โCREATE_CONTAINERโ = 13, โMAX_REQUEST_SIZEโ = 14))) โ Feature flags which are enabled. Only applicable to ClickHouse Keeper.availability_zone(String) โ Availability zonesession_timeout_ms(UInt64) โ Session timeout (in milliseconds)last_zxid_seen(Int64) โ Last zxid seen by the current session.