All Products
Search
Document Center

PolarDB:Release a cluster

更新時間:Jun 11, 2024

You can manually release pay-as-you-go clusters based on your business requirements. This topic describes how to manually release a PolarDB for MySQL cluster.

Precautions

  • You cannot manually release subscription clusters.

    Note

    For information about how to manage a subscription or pay-as-you-go cluster after the cluster expires or after the payment for the cluster becomes overdue, see Cluster expiration and overdue payments.

  • You can manually release a cluster only when the cluster Instance Running Usage is in the Running state.

    Note

    To release a serverless cluster whose Instance Running Usage value is Stopped, you must first start the cluster and change the Instance Running Usage value of the cluster to Running. For information about how to manually start a serverless cluster, see Manually start a cluster.

  • This feature is designed to release the entire cluster, including all nodes in the cluster. For information about how to release a single read-only node, see Add or remove read-only nodes.

Procedure

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

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

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

  5. In the Release Cluster dialog box, select a backup retention policy and click OK.

    Retain Backups value

    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 backups for a cluster after 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 for a cluster when you delete the cluster.

    All backups are deleted immediately.

    Deletes all backups for a cluster after 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 automatically backs up all data of the PolarDB cluster before the cluster is deleted.

    • 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 backups. For more information, see Restore a released cluster.

Related API operations

Operation

Description

DescribeDBClusters

Queries a list of PolarDB clusters.

DeleteDBCluster

Deletes a PolarDB cluster.