All Products
Search
Document Center

ApsaraDB for MyBase:Enable automatic storage expansion for an instance

Last Updated:Jul 14, 2023

This topic describes how to enable automatic storage expansion for an ApsaraDB MyBase for MySQL High-availability Edition instance that uses enhanced SSDs (ESSDs).

Prerequisites

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

  • Your Alibaba Cloud account or storage plan has sufficient balance for storage expansion.

Background information

You can use one of the following methods to enable automatic storage expansion for an instance:

  • Enable automatic storage expansion when you create an instance. For more information, see Create an ApsaraDB MyBase for MySQL instance.

  • Enable automatic storage expansion after you create an instance. For more information, see the "Procedure" section of this topic.

Procedure

  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 that 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 that appears, click Autonomy Service Settings.

  7. On the Autonomous Function Settings tab of the panel that appears, configure the parameters described in the following table.

    Parameter

    Description

    Autonomy Service

    Turn on Autonomy Service.

    Automatic Space Expansion

    Select the Automatic Space Expansion option.

    Available Storage Space

    Specify a threshold for the available storage. Unit: %. If the available storage is less than or equal to the specified threshold, automatic storage expansion is triggered.

    Maximum Storage of Automatic Expansion

    Specify the maximum storage capacity that is allowed for automatic storage expansion. Valid values: 100 to 32000. Unit: GB.

    Note

    When automatic storage expansion is triggered, the storage space automatically scales up by 5 GB or 15% of the current storage space, whichever value is greater.

  8. Click OK.