OrientDB - Drop Cluster


Advertisements


The Drop Cluster command removes the cluster and all its related content. This operation is permanent and rollback.

The following statement is the basic syntax of Drop Cluster command.

DROP CLUSTER <cluster-name>|<cluster-id>

Where <cluster-name> defines the name of the cluster you want to remove and <cluster-id> defines the ID of the cluster you want to remove.

Example

Try the following command to remove Sales cluster.

orientdb> DROP CLUSTER Sales 

If the above query is executed successfully, you will get the following output.

Cluster dropped successfully


Advertisements
E-Books Store