复古 护眼 海天 深邃 暗黑 默认

SHOW COMPUTE NODES

描述

SHOW COMPUTE NODES 语法用于查询 proxy 实例信息

语法

ShowComputeNodes ::=
  'SHOW' 'COMPUTE' 'NODES'

返回值说明

说明
instance_id proxy 实例编号
host 主机地址
port 端口号
status proxy 实例状态
mode_type proxy 实例模式
worker_id worker id
labels 标签
version 版本

示例

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

保留字

SHOWCOMPUTENODES

相关链接