All Products
Search
Document Center

ApsaraDB for MyBase:Enable automatic storage expansion for an instance

Last Updated:Mar 28, 2026

If your workload grows unpredictably, manual storage upgrades can cause downtime before you have a chance to react. Automatic storage expansion monitors available storage on your ApsaraDB MyBase for MySQL High-availability Edition instance and adds capacity automatically when space runs low—no manual intervention required.

Supported configurations

Automatic storage expansion is available only for ApsaraDB MyBase for MySQL High-availability Edition instances that use enhanced SSDs (ESSDs).

How expansion works

When available storage on your instance drops to or below the threshold you configure, the Autonomy Service triggers an expansion. Each expansion adds whichever amount is greater:

  • 5 GB

  • 15% of the current storage capacity

Examples:

Current storageExpansion incrementResult
20 GB5 GB (greater than 3 GB, which is 15% of 20 GB)25 GB
100 GB15 GB (greater than 5 GB, which is 15% of 100 GB)115 GB

The instance does not expand beyond the Maximum Storage of Automatic Expansion value you set.

Enable automatic storage expansion

There are two ways to enable this feature:

Prerequisites

Before you begin, ensure that you have:

  • An ApsaraDB MyBase for MySQL High-availability Edition instance that uses ESSDs

  • Sufficient balance in your Alibaba Cloud account or storage plan to cover expansion costs

Configure automatic storage expansion on an existing instance

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. Find the instance you want to manage and click Details in the Actions column.

  5. In the left-side navigation pane, choose Autonomy Service > Dashboard.

  6. On the right side of the page, click Autonomy Service Settings.

  7. On the Autonomous Function Settings tab, configure the following parameters:

    ParameterDescription
    Autonomy ServiceTurn on Autonomy Service.
    Automatic Space ExpansionSelect the Automatic Space Expansion option.
    Available Storage SpaceSet the available storage threshold (%). Expansion triggers when available storage is at or below this percentage.
    Maximum Storage of Automatic ExpansionSet the upper limit for automatic expansion. Valid values: 100–32000. Unit: GB.
  8. Click OK.

Limitations

  • Automatic storage expansion applies only to High-availability Edition instances that use ESSDs.