Help Center> GaussDB(for MySQL)> User Guide> Instance Modifications> Changing Storage of a Yearly/Monthly DB Instance
Updated on 2024-05-21 GMT+08:00

Changing Storage of a Yearly/Monthly DB Instance

Scenarios

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

Constraints

  • The storage of pay-per-use instances grows as needed, so you cannot manually scale up their storage. The storage of pay-per-use instances is not limited.
  • When you purchase a yearly/monthly 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.
  • The storage that is automatically scaled up can only be scaled down by the system, cannot by users.
  • During a storage change, services including backup service are not interrupted.
  • You can change storage of a DB instance numerous times.
  • If the storage 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 a project.
  3. Click in the upper left corner of the page, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, locate the DB 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/Backup Space area, click Change Storage.
    Figure 1 Scaling storage

  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, contact customer service.

  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, you can click the instance name to go to the Basic Information page and view the new storage.