LABEL|RELABEL COMPUTE NODES
Description
The LABEL|RELABEL COMPUTE NODES
syntax is used to label PROXY
instance.
Syntax
Grammar Railroad diagram
LableRelabelComputeNodes ::=
('LABEL' | 'RELABEL') 'COMPUTE' 'NODE' instance_id 'WITH' labelName
instance_id ::=
string
labelName ::=
identifier
Supplement
needs to be obtained through SHOW COMPUTE NODES syntax query
RELABEL
is used to relabelPROXY
instance
Example
- Label
PROXY
instance
LABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_1;
- Relabel
PROXY
instance
RELABEL COMPUTE NODE "0699e636-ade9-4681-b37a-65240c584bb3" WITH label_2;
Reserved word
LABEL
, RELABEL
, COMPUTE
, NODES
, WITH
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .