Skip to main content
Skip to main content
Edit this page

system.distributed_ddl_queue

包含有关在集群上执行的分布式ddl查询(集群环境)的信息.

列信息:

  • entry (String) — 查询ID.
  • host_name (String) — 主机名称.
  • host_address (String) — 主机名解析到的IP地址.
  • port (UInt16) — 主机端口.
  • status (Enum8) — 查询状态.
  • cluster (String) — 群集名称.
  • query (String) — 执行查询.
  • initiator (String) — 执行查询的节点.
  • query_start_time (DateTime) — 查询开始时间.
  • query_finish_time (DateTime) — 查询结束时间.
  • query_duration_ms (UInt64) — 查询执行时间(毫秒).
  • exception_code (Enum8) — 来自于ZooKeeper的异常代码.

示例