SQL Alter Cluster - aemadrid/orientdb GitHub Wiki

SQL Alter Cluster

The SQL Alter Cluster command update a cluster.

Syntax

ALTER CLUSTER <cluster-name>|<cluster-id> <attribute-name> <attribute-value>

Where:

  • cluster-name name of the cluster to modify
  • cluster-id id of the cluster to modify
  • attribute-name between those supported:
  • NAME cluster's name
  • DATASEGMENT data-segment to use for this cluster
  • attribute-value attribute's value to set

Examples

    ALTER CLUSTER profile NAME profile2
    ALTER CLUSTER 9 NAME profile2

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

⚠️ **GitHub.com Fallback** ⚠️