Updated on 2024-05-07 GMT+08:00

DROP NODE

Function

DROP NODE deletes a node.

Precautions

CREATE NODE GROUP is an interface of the cluster management tool. You are not advised to use this interface, because doing so affects the cluster. Only the administrator has the permission to use this interface.

Syntax

1
DROP NODE [ IF EXISTS ] nodename [WITH ( cnnodename [, ... ] )];

Parameter Description

IF EXISTS

Reports 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 name

Helpful Links