All Products
Search
Document Center

ApsaraDB for MyBase:Elastic configuration (temporary upgrade)

Last Updated:Sep 17, 2026

Use elastic scaling to temporarily increase resources, such as CPU and memory, for an ApsaraDB for MyBase instance to improve its performance and handle traffic spikes.

How it works

Elastic scaling lets you temporarily upgrade an instance's specifications, such as memory and CPU, to improve its performance. At the specified end time, the instance automatically reverts to its original specifications.

For example, an e-commerce store with an average of 100,000 daily visits might run smoothly on an instance with 2 CPU cores and 16 GB of memory. To prepare for a major sales event where traffic might reach 1 million visits, you can temporarily upgrade the instance to 8 CPU cores and 64 GB of memory to handle the expected traffic surge.
Note
  • A temporary upgrade does not cause disconnections or other service interruptions.
  • The temporary upgrade takes about two minutes to take effect.

Prerequisites

You have created an ApsaraDB for MyBase for MySQL instance or an ApsaraDB for MyBase for PostgreSQL instance. For more information, see:

Procedure

  1. Log on to the ApsaraDB for MyBase console.
  2. In the upper-left corner of the Dedicated Clusters page, select the target region.
  3. In the navigation pane on the left, click Clusters. Find the target dedicated cluster and click Details in the Actions column.
  4. In the navigation pane on the left, click Instances. Find the target instance, and in the Actions column, choose More > Elastic Configuration.
  5. On the Elastic Configuration page, configure the following parameters:
    In the Set Scale-up Resources section, use the slider or input a value to adjust the resource limits (for example, set connections from 1,200 to 100,000). Set the End time. As needed, select the required options under Restore to original specifications, and then click OK.
    Parameter Description
    Instance information Shows basic instance information, including:
    • Instance ID
    • CPU
    • Memory
    • Maximum connections
    Resource type Select the type of resource to scale, including:
    • CPU
    • Memory
    • Connections
    Set Scale-up Resources Adjust the value for the selected Resource type.
    End time Select the end time for the temporary upgrade.
    Restore to original specifications Select a resource's checkbox to enable a one-click restoration to its original specifications from this panel.
    Note Do not select this option if you do not need to restore the original specifications.
    Note Elastic scaling parameters vary by database engine. Refer to the values shown in the console.
  6. Click OK to apply the elastic configuration.
  7. After about 2 minutes, elastic scaling takes effect. Click the target instance ID to view the updated resource information on the Basic information page under Instance resources.
    Resource information includes CPU, memory, and connections. Each item shows the current usage, quota, and the elastic scaling expiration time.