Manually Changing Storage Capacity
Scenarios
If storage is not enough for your increasing workloads, you can scale up the storage for your instance.
If the storage in use is far less than the storage capacity you have requested, scale down the storage capacity to avoid resource waste.
If the storage is full, you need to scale up the storage to make the instance available and resume write operations. You are advised to set alarm rules for the storage space usage by referring to Setting Alarm Rules.
Conditions for an Instance to Become Read-Only When the Storage Is Full
| Storage Size | Description |
|---|---|
| Less than 1 TB |
|
| Greater than or equal to 1 TB |
|
How to Disable Read-Only When the Storage Is Full
Locate the instance in the Storage full state and click Disable Read-Only. In the displayed dialog box, click OK.
After disabling read-only mode, scale up the storage in a timely manner. Otherwise, periodic background inspections will set the instance back to read-only and the storage may become completely full, which will interrupt workloads.
Impact on Workloads
For instances with large storage capacities, performing a full backup and re-establishing the primary/standby replication relationship after it has been removed may take a long time. The actual duration depends on the amount of instance data. These operations also have impact on your workload because they consume CPU and disk I/O resources on the backup node.
Constraints
| Phase | Constraints | Duration |
|---|---|---|
| Storage scale-up |
| A storage scale-up takes 3 to 5 minutes. Too many databases and usernames may slow down permission replay when an instance exits read-only mode after storage scale-up to resolve insufficient storage. If the instance has more than 100 databases and more than 100 users, the process of disabling read-only status may take several minutes. |
| Storage scale-down |
| Scale down storage during off-peak hours. The time required for scaling down storage depends on the resource utilization and data volume of the DB instance. The larger the data volume, the longer the scale-down process takes. When there are enough I/O and CPU resources, it takes about 9 hours to scale down a DB instance with 1 TB of data. If the scale-down takes an extended period of time, submit a service ticket. |
Procedure
- Log in to the RDS console.
- Click
in the upper left corner and select a region. - On the Instances page, locate the target DB instance and choose More > Change Storage Space in the Operation column.
Or use either of the following methods:
- Click the target instance name to enter the Summary page. In the Storage & Backup area, click Change Storage Space.
- If the instance storage is full, locate the instance on the Instances page and click Scale in the Status column.
- On the displayed page, specify the new storage space and click Next.
You can adjust the storage capacity in increments of at least 10 GB. The selected capacity must be an integer multiple of 10. The instance supports a storage range from 40 GB to 10,000 GB.
Select a time to schedule the change. (To use this function, submit a service ticket.)
- Immediate: The change is applied immediately after the request is submitted.
- During maintenance window: If this option is selected, you can view the task details later on the Scheduled Tasks page. For details, see Viewing a Task. You are advised to set the maintenance window to off-peak hours.
- Confirm the information.
- If you need to modify your settings, click Previous.
- If you do not need to modify your settings, click Submit for a pay-per-use instance or click Pay Now for a yearly/monthly instance.
- Check the result.
On the Instances page, the status of the DB instance will be Scaling up or Scaling down. After a while, click the instance name and check that the new value for storage space appears on the Summary page.
What is your overall rating for this page?
Thank 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