You can manually release a pay-as-you-go cluster based on your business requirements. This topic describes how to manually release a PolarDB for PostgreSQL cluster.
Precautions
A subscription cluster cannot be manually released and will be automatically released upon expiration.
A pay-as-you-go cluster can be manually released only when it is in the Running state.
When you release a cluster, all its nodes are deleted. If you want to remove individual nodes from a cluster, see Add or remove a read-only node.
Procedure
Log on to the PolarDB console.
In the upper-left corner, select the region where the cluster to which you want to connect is deployed.
On the Clusters page, find the cluster that you want to release and choose in the Actions column.
In the Release Cluster dialog box, select a backup retention policy and click Release Cluster.OK
Backup retention policy
Description
When the cluster is deleted, the cluster data is automatically backed up, and all backup sets of the cluster are retained for a long period of time.
Retains all the backups of a cluster when you delete the cluster.
When the cluster is deleted, the cluster data is automatically backed up, and the backup set is retained for a long period of time.
Retains the last backup of a cluster when you delete the cluster.
All backups are deleted immediately.
Deletes all the backups of a cluster when you delete the cluster.
WarningIf you select this policy, the deleted clusters cannot be restored.
NoteIf you select the When the cluster is deleted, the cluster data is automatically backed up, and all backup sets of the cluster are retained for a long period of time. or When the cluster is deleted, the cluster data is automatically backed up, and the backup set is retained for a long period of time. policy, the system runs an automatic backup task to retain all the data of the cluster when you delete the PolarDB cluster.
After you delete a cluster, level-1 backups automatically become level-2 backups. You can go to the Cluster Recycle Bin page to view all the retained backups. For more information, see Restore a released cluster.
Related API operations
API | Description |
Queries a list of PolarDB clusters. | |
Deletes a PolarDB cluster. |