Logo
SHOW COMPUTE NODE INFO

描述 #

SHOW COMPUTE NODE INFO 语法用于查询当前 proxy 实例信息

语法 #

ShowComputeNodeInfo ::=
  'SHOW' 'COMPUTE' 'NODE' 'INFO'

返回值说明 #

说明
instance_idproxy 实例编号
host主机地址
port端口号
statusproxy 实例状态
mode_typeproxy 实例模式
worker_idworker id
labels标签

示例 #

  • 查询当前 proxy 实例信息
SHOW COMPUTE NODE INFO;
mysql> SHOW COMPUTE NODE INFO;
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| instance_id                          | host          | port | status | mode_type | worker_id | labels |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
| 734bb036-b15d-4af0-be87-2372d8b6a0cd | 192.168.5.163 | 3307 | OK     | Cluster   | -1        |        |
+--------------------------------------+---------------+------+--------+-----------+-----------+--------+
1 row in set (0.01 sec)

保留字 #

SHOWCOMPUTENODEINFO

相关链接 #