forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
9.8 KiB
9.8 KiB
Changing a Storage Type
Scenarios
If the storage type of your DB instance does not match your workloads, you can change it as needed.
For details about storage types, see DB Instance Storage Types.
Constraints
- If the storage type of a read replica is different from that of its associated DB instance, the data synchronization may be affected. Ensure that the storage type of the read replica is the same as or faster than that of the primary DB instance.
- During the storage type change, operations such as changing the instance class and scaling up storage space cannot be performed on the instance.
- Changing the storage type may affect storage performance, so the storage type should be changed during off-peak hours.
- Changing the storage type may take several minutes, hours, or even days. The time required depends on the throughput, storage space, and original storage type. This operation cannot be paused.
- In rare cases, the change may fail due to resource problems. If this happens, you are advised to perform the change again.
Supported Storage Types
Original Storage Type |
Target Storage Type |
|---|---|
Cloud SSD |
Extreme SSD or Flexible SSD |
Extreme SSD |
Cloud SSD or Flexible SSD |
Flexible SSD |
Cloud SSD or Extreme SSD |
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, locate the target DB instance and choose More > Change Instance Class in the Operation column.
Alternatively, click the target DB instance to go to the Summary page. Under Instance Class, click Configure.
- On the Change Instance Class page, select a new storage type.
If you select Flexible SSD, select Instance Specifications or Disk QoS for Change Type as needed.
- To change instance specifications, click Instance Specifications under Change Type and select the new specifications.
- To change disk QoS, click Disk QoS under Change Type and enter the new IOPS and throughput.
- IOPS: The value range is from 3000 to 128000. The IOPS is limited by the disk size and must be no greater than 500 times the disk capacity.
- Throughput: The value range is from 125 to 1000 (in MiB/s) and must also be no greater than the IOPS divided by 4.
- Specify Scheduled Time and click Next.
- Immediate: The change is applied immediately after the request is submitted.
- During maintenance window: If you select this option, set the maintenance window to off-peak hours.
- Confirm the configurations and Click Submit.
- Check the results.
Return to the Instances page. A few minutes later, click the instance name and check the new storage type on the displayed Summary page.
Parent topic: Instance Modifications