English 中文(简体)
OrientDB Tutorial

OrientDB Database Commands

OrientDB Record Commands

OrientDB Class Commands

OrientDB Cluster Commands

OrientDB Property Commands

OrientDB Vertex Commands

OrientDB Edge Commands

OrientDB Advanced Concepts

OrientDB Interfaces

OrientDB Useful Resources

Selected Reading

OrientDB - Drop Cluster
  • 时间:2024-10-18

OrientDB - Drop Cluster


Previous Page Next Page  

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