All Products
Search
Document Center

ApsaraDB RDS:Configure automatic storage expansion for an ApsaraDB RDS for SQL Server instance

Last Updated:Apr 10, 2023

Database Autonomy Service (DAS) provides the automatic storage expansion feature for ApsaraDB RDS for SQL Server. This feature allows you to monitor the storage usage of your ApsaraDB RDS for SQL Server instance and automatically expands the storage capacity of the RDS instance when the storage capacity is insufficient. This feature helps ensure the stability of your workloads.

Prerequisites

Usage notes

From February 28, 2023, the automatic storage expansion feature is optimized for database instances in different regions. If your instance has read-only instances, DAS automatically checks the storage capacity of each read-only instance when automatic storage expansion is enabled for the primary instance. If the storage capacity of one or more read-only instances is smaller than that of the primary instance, DAS first scales up the storage capacity of the read-only instances. After the storage capacity of each read-only instance is scaled up, DAS automatically scales up the storage capacity of the primary instance. For more information, see [Notice] Optimization of automatic storage expansion for ApsaraDB RDS for MySQL instances and ApsaraDB RDS for PostgreSQL instances.

Billing

The billing rules for automatic storage expansion are the same as those for manual storage expansion of ApsaraDB RDS instances. For more information, see Specification changes.

Procedure

  1. Log on to the DAS console.
  2. In the left-side navigation pane, click Instance Monitoring.
  3. On the page that appears, click the ID of the database instance that you want to manage. The instance details page appears.
  4. In the left-side navigation pane, click Autonomy Center.
  5. On the Autonomy Center tab, click Autonomy Service Settings in the upper-right corner.
  6. On the Autonomous Function Settings tab of the Autonomous Function Management panel, turn on the switch.
  7. On the Optimization and Throttling tab, select Automatic Space Expansion and specify the parameters that are described in the following table.
    ParameterDescription
    Available Storage SpaceWhen the remaining storage of the database instance is less than or equal to the value specified by the Available Storage Space parameter, the system automatically expands the storage based on the larger value of the following items:
    • Storage capacity of 5 GB
    • 15% of the current storage capacity of the instance
    Maximum Storage of Automatic ExpansionThe maximum storage capacity that is allowed by automatic storage expansion. The value of this parameter must be greater than or equal to the current storage capacity of your database instance.
    Note The interval between two storage expansions is at least 10 minutes.
  8. In the message that is displayed, click OK.

Billing

The billing rules for automatic storage expansion are the same as those for manual storage expansion of ApsaraDB RDS instances. For more information, see Specification changes.