All Products
Search
Document Center

PolarDB:Release a cluster

Last Updated:Mar 28, 2026

Manually release a pay-as-you-go PolarDB for PostgreSQL cluster when it is no longer needed. Before releasing, select a backup retention policy to control whether cluster data is preserved.

Warning

Releasing a cluster permanently deletes all its nodes. If you select the All backups are deleted immediately. policy, the cluster cannot be restored afterward. Back up any critical data before proceeding.

Prerequisites

Before you begin, ensure that:

  • The cluster uses pay-as-you-go billing. Subscription clusters cannot be manually released — they are automatically released upon expiration.

  • The cluster is in the Running state.

Release the cluster

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. On the Clusters page, find the target cluster, then choose More > Release in the Actions column.

  4. In the Release Cluster dialog box, select a backup retention policy.

    Backup retention policyWhat happens to your data
    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.The system runs an automatic backup before deletion and retains all existing backup sets. Use this policy when you need the full backup history for potential restore.
    When the cluster is deleted, the cluster data is automatically backed up, and the backup set is retained for a long period of time.The system runs an automatic backup before deletion and retains only the most recent backup set. Use this policy when only the latest state matters.
    All backups are deleted immediately.All backup sets are deleted at the time of release. The cluster cannot be restored. Use this policy only when data retention is not required.
  5. Click Release Cluster.

What happens after release

If you selected either of the first two backup retention policies, the system runs an automatic backup task before the cluster is deleted. After deletion:

  • Level-1 backups automatically become level-2 backups.

  • All retained backups are available on the Cluster Recycle Bin page.

To restore a released cluster from retained backups, see Restore a released cluster.

Remove individual nodes

To remove individual nodes without releasing the entire cluster, see .

API reference

APIDescription
DescribeDBClustersQueries a list of PolarDB clusters.
DeleteDBClusterDeletes a PolarDB cluster.