Logo
SHOW COMPUTE NODE INFO

Description #

SHOW COMPUTE NODE INFO syntax is used to query the current proxy instance information

Syntax #

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

Return Value Description #

ColumnDescription
instance_idproxy instance id
hosthost address
portport number
statusproxy instance status
mode_typeproxy instance mode
worker_idworker id
labelslabel

Example #

  • Query the 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 #

SHOWCOMPUTENODEINFO