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