Enabling Storage Autoscaling
Scenarios
You can enable autoscaling for a GaussDB instance so that its storage can be automatically scaled up when the disk usage reaches the specified threshold.
Precautions
- DB instances of the basic edition do not support storage autoscaling. If autoscaling has been enabled for such an instance, the automatic scale-up task will be automatically stopped upon request and autoscaling will be disabled.
- All nodes in the target instance must be in an available state.
- The following operations cannot be performed for an instance when autoscaling is being enabled and autoscaling cannot be enabled when any of the following operations is being performed: scaling up storage, adding nodes, changing the disk type, deleting an instance, checking snapshots, updating agents, and auto-scaling the storage. When you perform these operations, autoscaling cannot be enabled.
- Autoscaling for primary/standby instances is at the instance level.
- Autoscaling for distributed instances is at the shard level.
- If the storage sizes of shards in a distributed instance are different after the scale-up, no shards can be added or deleted until all shards are scaled to the same size.
- During storage autoscaling, the storage space is increased in increments of 40 GB.
- If the space to increase exceeds the upper limit you have specified, only the space size equal to the upper limit will be increased.
- If the space to increase exceeds the upper limit specified by the system, only the space size equal to the upper limit will be increased.
- An alarm will be generated when autoscaling fails. This alarm will be automatically cleared when the disk usage is lower than the specified threshold.
- If a yearly/monthly DB instance has pending orders, autoscaling will fail.
- If your account balance is insufficient, autoscaling will fail.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose .
- On the Instances page, click the name of the target instance to go to the Basic Information page.
- In the Storage/Backup Space area, click Auto-Scale.
Figure 1 Enabling autoscaling
- In the displayed Configure Storage Autoscaling dialog box, set the following parameters:
Figure 2 Configuring autoscaling
Table 1 Parameters Parameter
Description
Autoscaling
Specifies whether to enable automatic scale-out. By default, automatic scale-out is disabled.
Trigger If Available Storage Drops To
The storage will be automatically scaled up if the available storage drops to or below the threshold specified by this parameter. The default value is 20%.
Autoscaling Limit
Upper limit of the storage space in GB that can be automatically scaled to. The value of this parameter must be greater than the current storage of the instance.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot