SHOW COMPUTE NODE INFO

Description

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

Syntax

Grammar Railroad diagram

  1. ShowComputeNodeInfo ::=
  2. 'SHOW' 'COMPUTE' 'NODE' 'INFO'

Return Value Description

ColumnsDescription
instance_idproxy instance id
hosthost address
portport number
statusproxy instance status
mode_typeproxy instance mode
worker_idworker id
labelslabels

Example

  • Query current proxy instance information
  1. SHOW COMPUTE NODE INFO;
  1. mysql> SHOW COMPUTE NODE INFO;
  2. +--------------------------------------+---------------+------+--------+-----------+-----------+--------+
  3. | instance_id | host | port | status | mode_type | worker_id | labels |
  4. +--------------------------------------+---------------+------+--------+-----------+-----------+--------+
  5. | 734bb036-b15d-4af0-be87-2372d8b6a0cd | 192.168.5.163 | 3307 | OK | Cluster | -1 | |
  6. +--------------------------------------+---------------+------+--------+-----------+-----------+--------+
  7. 1 row in set (0.01 sec)

Reserved word

SHOW, COMPUTE, NODE, INFO