Manually Scaling Down Storage of a GeminiDB DynamoDB-Compatible Instance
Scenarios
After peak hours, if the storage usage of a DB instance continues to decrease, scaling down storage can release unused space, reclaim resources, and reduce costs.
Usage Notes
| Deployment Type | Description |
|---|---|
| Classic |
|
| Cloud native |
|
Billing
| Billing Mode | Operation | Impact on Price |
|---|---|---|
| Yearly/Monthly | Storage scale-down | After the scale-down, the new storage takes effect for the remaining subscription period. As the new configuration costs less than the previous one, Huawei Cloud will refund you the price difference. Example (The specifications and prices below are for reference only. The actual prices are displayed on the console.) Assume that you purchased a yearly/monthly DynamoDB-Compatible instance with 80 GB of storage for one month on April 8, 2023, at a unit storage price of $1 USD/GB/month. On April 18, 2023, you reduced 40 GB of storage, bringing the total to 40 GB. The price difference is calculated as follows: Refund amount = Reduced storage × Unit price × Remaining period The remaining period in the formula is calculated by dividing remaining days in each calendar month by the total days in that month. In this example, the remaining period is 0.6581 [12 (remaining days in April)/30 (total days in April) + 8 (remaining days in May)/31 (total days in May)]. The refund amount is therefore $26.3 USD (40 × 1 × 0.6581). For details, see Yearly/Monthly Billing. |
| Pay-per-use | Storage scale-down | After storage is scaled down, a new order is generated and you will be billed at the new price. The old order is automatically invalidated. For details, see Pay-per-use Billing. |
About Read-Only Instances
To maintain instance stability, the system checks its storage every 10 seconds. If your GeminiDB DynamoDB-Compatible instance is running out of storage, it will become read-only and its data cannot be modified. If this happens, you can scale up the storage to restore the instance status.
| Storage | Description |
|---|---|
| < 16,000 GB |
|
| ≥ 16,000 GB |
|
Instances with classic storage do not support read-only mode.
Procedure
- Log in to the Huawei Cloud console.
- On the Instances page, locate the target instance and choose More > Scale Storage Space in the Operation column.
Click the instance name. In the Storage Space area on the Basic Information page, click Scale.
- On the displayed page, specify new storage and click Next. Figure 1 Scaling down storage space
- To scale down classic storage, you need to select at least 1 GB each time. The value must be an integer.
- To scale down cloud native storage, you need to select at least 100 GB each time. The value must be an integer multiple of 10.
- On the displayed page, confirm the storage space.
- Yearly/Monthly
- To modify your settings, click Previous to go back to the page where you specify details.
- If you do not need to modify your settings, click Next and complete the payment.
- Pay-per-use
- To modify your settings, click Previous to go back to the page where you specify details.
- If you do not need to modify your settings, click Submit.
- Yearly/Monthly
- Check the results.
- During the scale-down process, the instance status becomes Scaling storage space.
- After the scaling process, the instance status becomes Available.
- Click the instance name. In the Storage Space area on the Basic Information page, check the new storage space.
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