本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
从 Neptune 全球数据库中移除数据库集群
出于多种原因,您可能要从全球数据库中移除数据库集群。例如:
如果主集群已降级或处于隔离状态,则可以将其从全球数据库中移除,这样它就会变成一个可用于创建新的全球数据库的独立预调配集群(请参阅Detach-and-promote 计划外停机时使用 Neptune 全球数据库)。
如果您要删除全球数据库,首先必须从全球数据库移除(分离)所有关联集群,仅保留主集群(请参阅删除 Neptune 全球数据库)。
您可以使用 remove-from-global-clusterCLI 命令(包装 RemoveFromGlobalCluster API)将 Neptune 数据库集群与全局数据库分离:
aws neptune remove-from-global-cluster \ --region
(region of the cluster to remove)
\ --global-cluster-identifier(global database ID)
\ --db-cluster-identifier(ARN of the cluster to remove)
然后,分离的数据库集群就会变成独立的数据库集群。