All Products
Search
Document Center

PolarDB:Set automatic start for or manually start a serverless cluster

Last Updated:Sep 16, 2026

This topic describes how to configure or disable automatic start and how to manually start a serverless cluster.

Enable automatic start

You can enable or disable automatic start for a serverless cluster. After you enable this feature, if no connection is established to the cluster within the Detection Period for No-activity Suspension, the cluster automatically enters the suspended state. When a connection arrives, the cluster immediately starts.

Note
  • Only the default cluster endpoint and custom endpoints support automatic start. Whether active connections exist is determined only based on connections through the default cluster endpoint and custom endpoints. Connections through the primary endpoint do not trigger automatic start. For information about how to apply for a cluster endpoint, see Manage endpoints.

  • After a serverless cluster is automatically suspended, all read-only nodes are released even if you set Minimum Read-only Nodes to a value greater than 1. This reduces resource usage and prevents high availability (HA) compatibility issues while the cluster is suspended. After the serverless cluster automatically starts, the primary node is started first so that the cluster can provide services. Then, read-only nodes are started based on the Minimum Read-only Nodes value.

  • The serverless feature does not support automatic start for clusters with defined specifications.

  1. Log in to the PolarDB console。

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

  3. Find the target cluster and click its ID.

  4. On the Basic Information page, go to the Database Nodes section and click Serverless Configuration.

  5. In the Configure Serverless-related Parameters dialog box, enable or disable Enable No-activity Suspension.

  6. Optional:If you enable Enable No-activity Suspension, you must configure Detection Period for No-activity Suspension.

    Note

    The detection period ranges from 5 minutes to 24 hours.

  7. Click OK.

Manually start a cluster

After a serverless cluster with automatic start enabled is automatically suspended, if you want to immediately restore the cluster to the running state, you must manually start the cluster.

  1. Log in 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 in the suspended state.

  4. On the Basic Information page, go to the Database Nodes section and click Start Cluster.

  5. In the Start Cluster dialog box, click OK.