SHOW COMPUTE NODE MODE
Description
The SHOW COMPUTE NODE MODE syntax is used to query mode configuration information for the current compute node.
Syntax
ShowComputeNodeMode ::=
'SHOW' 'COMPUTE' 'NODE' 'MODE'Return Value Description
| Columns | Description |
|---|---|
| type | compute node operating mode |
| repository | type of persist repository |
| props | properties of persist repository |
Example
- Query mode configuration information for the current compute node
SHOW COMPUTE NODE MODE;mysql> SHOW COMPUTE NODE MODE;
+---------+------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| type | repository | props |
+---------+------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Cluster | ZooKeeper | {"operationTimeoutMilliseconds":500,"timeToLiveSeconds":60,"maxRetries":3,"namespace":"governance_ds","server-lists":"localhost:2181","retryIntervalMilliseconds":500} |
+---------+------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)Reserved word
SHOW, COMPUTE, NODE, MODE