All Products
Search
Document Center

PolarDB:Release a cluster

Last Updated:Feb 06, 2025

You can manually release pay-as-you-go PolarDB clusters based on your business requirements.

Usage notes

  • You cannot manually release subscription clusters.

  • You can manually release clusters of the following types:

    • Pay-as-you-go clusters whose Status is Running .

      Note

      If the Status of your pay-as-you-go cluster is Locking, your Alibaba Cloud account has an overdue payment. You can top up your Alibaba Cloud account. After that, the cluster is unlocked and returns to normal. Now you can manually release the cluster. For more information, see Expiration and overdue payments.

    • Serverless clusters whose Status is Stopped.

  • 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. Click Clusters in the left-side navigation pane. Select a region in the upper-left corner and find the cluster in the list.

  2. In the Actions column, choose More > Release.

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

    Retain Backups value

    Description

    When the cluster is released, the cluster data is automatically backed up, and all backup sets of the cluster are retained for a long period of time.

    When you release the PolarDB cluster, all backups of the cluster are retained.

    When the cluster is released, the cluster data is automatically backed up, and the latest backup set is retained for a long period of time.

    A full backup is performed before you release the cluster and only this backup is retained.

    When the cluster is released, all backup sets of the cluster are deleted immediately.

    After the PolarDB cluster is released, all backups and logs of cluster are immediately deleted.

    Warning

    If you select this policy, the released PolarDB cluster cannot be restored.

    Note
    • If you select the When the cluster is released, 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 released, the cluster data is automatically backed up, and the latest 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 the cluster is released, its level-1 backup files automatically become level -2 backup files and are retained in the Cluster recycle bin. You are charged for the backup files. You can Delete a released cluster at any time to reduce costs.

FAQ

Can I pause or stop a PolarDB cluster?

  • If your PolarDB cluster is a subscription or pay-as-you-go cluster, you cannot pause or stop the cluster.

  • If your PolarDB cluster is a serverless cluster, you can enable No-activity Suspension for the serverless cluster. After you enable this feature and if no service is connected to the cluster within the period defined by the Detection Period for No-activity Suspension parameter, the cluster automatically enters the suspended state. During the suspension period, you are still charged for the storage space on a pay-as-you-go basis. If any service is connected to the cluster, the cluster immediately starts.

Why am I still charged for backup storage after I release my cluster?

If you specify to retain the backup sets when you release a cluster, charges for backup storage continue to accumulate after you release the cluster. To prevent the charges, remove the backup sets from the Cluster recycle bin. For more information, see Delete a released cluster.

References

Related API operations

API

Description

DescribeDBClusters

Queries PolarDB clusters.

DeleteDBCluster

Releases a pay-as-you-go PolarDB cluster.