DROP NODE
Function
DROP NODE deletes a node.
Precautions
CREATE NODE is the internal interface encapsulated in gs_om. You are not advised to use this interface, because doing so affects the cluster.
Syntax
1 | DROP NODE [ IF EXISTS ] nodename [WITH ( cnnodename [, ... ] )];
|
Parameter Description
IF EXISTS
Sends a notice instead of an error if the specified node does not exist.
nodename
Specifies the name of the node to be deleted.
Value range: An existing node name.
cnnodename
Specifies the CN name. If it is specified, DROP NODE will be executed on both the connected CN and the specified CN. If it is not specified, DN deletion must be performed on all CNs, and CN deletion must be performed on all CNs except the CN to be deleted.
Value range: An existing CN node name.
Helpful Links
Last Article: DROP INDEX
Next Article: DROP NODE GROUP
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.