All Products
Search
Document Center

PolarDB:Release a cluster

Last Updated:Mar 11, 2024

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

Precautions

  • You cannot manually release subscription clusters.

    Note

    For more information about how to handle subscription and pay-as-you-go clusters after they expire or are overdue, see Cluster expiration and overdue payments.

  • You can manually release clusters whose Running is Instance Running Usage.

    Note

    For a serverless cluster whose Instance Running Usage is Stopped, you must Manually start a cluster to change the Instance Running Usage of the serverless cluster to Running before you can manually release the serverless cluster.

  • You can use this feature to release clusters. If this feature is used, all the nodes of the clusters are released. For more 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 top navigation bar, select the region in which the cluster that you want to manage 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 the 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.

    Immediately Delete All Backups

    Deletes all the 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 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 about a cluster after 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 backups. For more information, see Restore a released cluster.

Related API operations

API

Description

DescribeDBClusters

Queries the list of PolarDB clusters.

DeleteDBCluster

Deletes a PolarDB cluster.