Help Center/ TaurusDB/ User Guide/ Instance Management/ Configuration Changes/ Changing the Storage Space of a DB Instance
Updated on 2024-11-06 GMT+08:00

Changing the Storage Space of a DB Instance

Scenarios

If the original storage space of your yearly/monthly DB instance is insufficient or redundant as your services change, you can scale up or down the storage.

Constraints

  • The storage of pay-per-use DB instances grows as needed, so you cannot manually scale up their storage. The storage of pay-per-use DB instances is not limited.
  • When you purchase a yearly/monthly DB instance, you need to select storage for it as needed. If your purchased storage cannot meet service requirements, the system will automatically scale up the storage as needed and you will be billed on a pay-per-use basis for additional storage. If services requirements decrease later, the system preferentially scales down the storage that was automatically scaled up.

    For example, you purchased 10 GB of storage when purchasing a DB instance. Later, as services increased, GaussDB(for MySQL) automatically scaled the storage to 18 GB as needed and you would be billed on a pay-per-use basis for the additional 8 GB of storage. Then, you manually scaled up the storage to 20 GB, which could meet service requirements. The 8 GB of storage that was scaled up by the system will be scaled down. You would only pay for the 20 GB of storage at yearly/monthly rates.

  • The system changes storage of your DB instance as your services change, but you can change storage only by a multiple of 10 GB.
  • During a storage change, services including backup service are not interrupted.
  • You can change the storage space of a DB instance numerous times.
  • If the storage space of a DB instance is being changed, you cannot reboot or delete the DB instance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
  4. On the Instances page, locate the instance and choose More > Change Storage in the Operation column.

    Alternatively, click the instance name to go to the Basic Information page. In the Storage and Backup area, locate Storage Space and click Change Storage.
    Figure 1 Scaling storage space

  5. Select the new storage space and click Next.

    Storage space can be scaled up to 128,000 GB only by a multiple of 10 GB. Price after scaling is displayed in the lower left corner of the page.

    Storage space can be scaled down to 40 GB only by a multiple of 10 GB. Refund price is displayed in the lower left corner of the page.

    To reduce the storage of a DB instance to 10 GB, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console.

  6. Confirm your settings.

    • If you need to modify your settings, click Previous.
    • If you do not need to modify your settings, click Submit to go to the payment page and complete the payment.

  7. View the new storage.

    On the Instances page, click the instance name to go to the Basic Information page and view the new storage.