All Products
Search
Document Center

PolarDB:Release a cluster

Last Updated:Jul 26, 2024

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

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster to which you want to connect is deployed.

  3. On the Clusters page, find the cluster that you want to release and choose More > Release in the Actions column.

  4. 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.

    Warning

    If you select this policy, the deleted clusters cannot be restored.

    Note
    • If 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

DescribeDBClusters

Queries a list of PolarDB clusters.

DeleteDBCluster

Deletes a PolarDB cluster.