OrientDB Manual 1.7.8

SQL - CREATE CLUSTER

The Create Cluster command creates a new cluster.

Syntax

CREATE CLUSTER <name> [POSITION <position>|append]

Where:

  • name is the cluster name to create. The first character must be alphabetic and others can be any alphanumeric characters plus underscore _ and dash -.
  • position, optional, is the position where to add the cluster. If omitted or it's equals to 'default' the cluster is appended at the end

Examples

Create the cluster 'Account':

CREATE CLUSTER account

To remove a cluster use the Drop Cluster command.

To know more about other SQL commands look at SQL commands.

This is a command of the Orient console. To know all the commands go to Console-Commands.