OrientDB – Drop Cluster 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 […]
Author Archives: user
OrientDB – Truncate Cluster The Truncate Cluster command deletes all records of a cluster. The following statement is the basic syntax of Truncate Cluster Command. TRUNCATE CLUSTER <cluster-name> Where <cluster-name> is the name of the cluster. Example Try the following query to truncate the cluster named sales. Orientdb {db = demo}> TRUNCATE CLUSTER Profile If […]
OrientDB – Create Cluster Cluster is an important concept in OrientDB which is used to store records, documents, or vertices. In simple words, cluster is a place where a group of records are stored. By default, OrientDB will create one cluster per class. All the records of a class are stored in the same cluster, […]