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 | 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 of local resources of a PolarDB for MySQL cluster |
| 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. |