This topic describes how to enable storage auto-scaling for a cluster instance.
Background information
If your business involves a large amount of data or your business volume fluctuates frequently, we recommend that you enable the storage auto-scaling feature. When the storage space is about to overflow, the instance can automatically scale up the storage space to ensure the stability of your online business.
The storage auto-scaling feature applies only to the full-featured replica node data disks.
The system checks the space usage on a minute-by-minute basis. When the available storage space is less than or equal to the set value, the system automatically triggers the scaling. This operation can be enabled or disabled at any time after the instance is created.
Prerequisites
Before you enable the storage auto-scaling feature, make sure that the following conditions are met:
Only project owners and project admins can perform this operation.
The cloud service provider of the current cluster is not AWS.
The storage architecture of the current cluster is Shared Nothing.
The storage type of the current cluster is cloud disk.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target cluster, and click the cluster instance name to go to the Overview page.
On the Overview page, click ... in the upper-right corner and select Set Storage Auto-scaling; or on the right side of the topology section, click Auto Scale-Up > Set Storage Auto-scaling.
In the dialog box that appears, enable the storage auto-scaling switch, and configure the following parameters. Click OK.
ParameterParameter DescriptionAvailable storage in normal hours The percentage of available storage that triggers storage auto-scaling in normal hours. The default value is 10%. Valid values: 10%, 15%, 20%, 25%, and 30%. Available storage in major compaction hours The percentage of available storage that triggers storage auto-scaling in major compaction hours. The default value is 5%. Valid values: 5%, 10%, 15%, 20%, 25%, and 30%. Storage auto-scaling upper limit Set the auto-scaling upper limit based on your business needs. If storage auto-scaling reaches the upper limit you set, auto-scaling fails. Note
The minimum value is max{130% of the currently used storage space, the minimum storage space of the current instance specification}. The maximum value is the maximum storage space allowed for the current instance specification.
Auto-scaling increment per adjustment Auto-scaling can be performed by Fixed Size or Percentage. Fixed Size is selected by default. - Fixed Size: The default value is 50 GiB. The minimum increment is 50 GiB. Valid values range from 50 GiB to 1000 GiB.
- Percentage: The default value is 10%. Valid values: 10%, 20%, 30%, 40%, and 50%.
Note
After storage auto-scaling is enabled, it will be triggered under specific conditions, and the instance will be marked with "Auto" in the instance list.
