If the resources that are selected when you purchase an AnalyticDB for MySQL Enterprise Edition or Basic Edition cluster cannot meet your business requirements or are far more than required, you can scale the cluster.
Prerequisites
Your Alibaba Cloud account does not have unpaid renewal orders.
The Enterprise Edition or Basic Edition cluster is in the Running state.
Billing rules
For information about the billing rules of reserved resources of Enterprise Edition and Basic Edition, see Pricing for Enterprise Edition and Basic Edition.
Amount of time required to change configurations
When you scale a cluster, data in the cluster is migrated for redistribution. The amount of time that is required to migrate data is proportional to the data volume.
When you downgrade cluster specifications, data migration may require up to dozens of hours to complete. Proceed with caution especially if your cluster contains a large amount of data.
After you trigger a configuration change operation, you can view the progress of the configuration change on the Clusters or Task Center page.
Impacts of configuration changes
When you scale a cluster, you cannot execute the
SUBMIT JOB
statement to submit asynchronous jobs. If your business requires asynchronous jobs, perform scaling during appropriate periods.When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
You cannot change the configurations of a cluster when you use resource scaling plans. Before you change the configurations of a cluster, you must disable the resource scaling plans for the cluster. After you change the configurations of the cluster, you can re-enable the resource scaling plans for the cluster. For information about how to disable a resource scaling plan, see Manage a resource scaling plan.
Procedure
Enterprise Edition
Scale up a cluster
Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Enterprise Edition tab, find the cluster that you want to scale up and click Scale Up in the Actions column.
On the Upgrade/Downgrade page, configure the Single-node Specifications of Reserved Resources, Reserved Resource Nodes, or ESSD Performance Level parameter.
For a Subscription cluster, read and select the Terms of Service, and then click Buy Now. Confirm the order and the payment method, and then click Subscribe. For a Pay-as-you-go cluster, read and select the Terms of Service, and then click Buy Now.
Scale down a cluster
Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Enterprise Edition tab, find the cluster that you want to scale down and choose More > Scale Down in the Actions column.
On the Downgrade page, configure the Single-node Specifications of Reserved Resources, Reserved Resource Nodes, or ESSD Performance Level parameter.
For a Subscription cluster, read and select the Terms of Service, and then click Buy Now. Confirm the order and the payment method, and then click Subscribe. For a Pay-as-you-go cluster, read and select the Terms of Service, and then click Buy Now.
Basic Edition
Scale up a cluster
Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. Click the Basic Edition tab. Find the cluster that you want to scale up and click Scale Up in the Actions column.
On the Upgrade/Downgrade page, configure the Single-node Specifications of Reserved Resources parameter.
For a Subscription cluster, read and select the Terms of Service, and then click Buy Now. Confirm the order and the payment method, and then click Subscribe. For a Pay-as-you-go cluster, read and select the Terms of Service, and then click Buy Now.
Scale down a cluster
Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. Click the Basic Edition tab. Find the cluster that you want to scale down and choose More > Scale Down in the Actions column.
On the Downgrade page, configure the Single-node Specifications of Reserved Resources parameter.
For a Subscription cluster, read and select the Terms of Service, and then click Buy Now. Confirm the order and the payment method, and then click Subscribe. For a Pay-as-you-go cluster, read and select the Terms of Service, and then click Buy Now.