SHOW COMPUTE NODE INFO
Description
The SHOW COMPUTE NODE INFO
syntax is used to query current proxy instance information.
Syntax
Grammar Railroad diagram
ShowComputeNodeInfo ::=
'SHOW' 'COMPUTE' 'NODE' 'INFO'
Return Value Description
Columns | Description |
---|---|
instance_id | proxy instance id |
host | host address |
port | port number |
status | proxy instance status |
mode_type | proxy instance mode |
worker_id | worker id |
labels | labels |
Example
- Query current proxy instance information
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)
Reserved word
SHOW
, COMPUTE
, NODE
, INFO
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .