Drop Cluster
命令用於刪除集群及其所有相關內容。 這個操作是永久的並且回滾。
以下語句是Drop Cluster
命令的基本語法。
DROP CLUSTER <cluster-name>|<cluster-id>
其中<cluster-name>
定義要移除的群集的名稱,<cluster-id>
定義要移除的群集的ID。
示例
嘗試使用以下命令刪除Sales
群集。
orientdb> DROP CLUSTER Sales
如果上述查詢成功執行,您將得到以下輸出。
Cluster dropped successfully
上一篇:
OrientDB截斷集群
下一篇:
OrientDB創建屬性