Description #
SHOW COMPUTE NODE INFO
syntax is used to query the current proxy instance information
Syntax #
copyShowComputeNodeInfo ::=
'SHOW' 'COMPUTE' 'NODE' 'INFO'
Loading ...
Return Value Description #
Column | 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 | label |
Example #
- Query the current proxy instance information
copySHOW COMPUTE NODE INFO;
copymysql> 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