All Products
Search
Document Center

PolarDB:Auto scaling

Last Updated:Feb 28, 2025

PolarDB for MySQL provides multiple auto scaling solutions to help you handle traffic spikes and ensure cluster stability.

The following solutions are applicable only to subscription or pay-as-you-go clusters with defined specifications. The resources of compute nodes in a serverless cluster can be automatically scaled based on your business workloads.

Method

Cluster requirements

Description

Enable the serverless feature for a cluster with defined specifications

PolarDB for MySQL 5.7 or 8.0

Serverless is a dynamic, elastic scaling capability of PolarDB clusters. Each node in a PolarDB cluster can elastically scale up within seconds to handle sudden workload surges without affecting ongoing operations and automatically scale down during periods of low business loads to optimize cost efficiency.

Auto scaling of cluster specifications

Auto scaling for clusters that do not support serverless

PolarDB for MySQL 5.6

With Database Autonomy Service (DAS), a cluster is scaled based on average CPU utilization and read/write traffic. Also, auto scale-back is supported to change the cluster specifications back during off-peak hours.

Auto scaling by using DAS

  • Product edition: Enterprise Edition

  • Edition: Cluster Edition

Auto-scaling of local resources of a PolarDB for MySQL cluster

  • Database engine: MySQL 5.6, MySQL 5.7, or MySQL 8.0.1.

  • Product edition: Enterprise Edition

  • Specification type: General specifications

With DAS, the system uses the extra resources on the same local host to scale up the CPU cores of a cluster as configured based on the average CPU utilization.