SHOW COMPUTE NODE INFO
语法用于查询当前 proxy 实例信息。
ShowComputeNodeInfo ::=
'SHOW' 'COMPUTE' 'NODE' 'INFO'
列 | 说明 |
---|---|
instance_id | proxy 实例编号 |
host | 主机地址 |
port | 端口号 |
status | proxy 实例状态 |
mode_type | proxy 实例模式 |
worker_id | worker id |
labels | 标签 |
version | 版本 |
SHOW COMPUTE NODE INFO;
mysql> SHOW COMPUTE NODE INFO;
mysql> SHOW COMPUTE NODES;
+--------------------------------------+---------------+------------+------+--------+------------+-----------+--------+----------+
| instance_id | instance_type | host | port | status | mode_type | worker_id | labels | version |
+--------------------------------------+---------------+------------+------+--------+------------+-----------+--------+----------+
| 3e84d33e-cb97-42f2-b6ce-f78fea0ded89 | PROXY | 127.0.0.1 | 3307 | OK | Cluster | -1 | | 5.4.2 |
+--------------------------------------+---------------+------------+------+--------+------------+-----------+--------+----------+
1 row in set (0.01 sec)
SHOW
、COMPUTE
、NODE
、INFO