Updated on 2025-01-24 GMT+08:00

Manually Scaling Up Disk Space

Scenarios

This section describes how to scale up storage of an instance to suit your service requirements.

Usage Notes

  • To keep services accessible, scale up storage space when the storage usage exceeds 80%.
  • Storage scaling does not interrupt your services. After storage scaling is complete, you do not need to restart your instance.

Setting an Instance Status to Read-only

To ensure that the instance can still be used if the storage space is about to be used up, the database is set to read-only, and data cannot be modified. If this happens, you can add more storage to restore the database to read/write status.

Table 1 Setting an instance status to read-only

Storage Space

Description

Less than 600 GB

  • When the storage usage reaches 97%, the instance is set to read-only.
  • When the storage usage decreases to 85%, the read-only status is automatically disabled for the instance.

Greater than or equal to 600 GB

  • The remaining storage space is less than 18 GB, and the instance is set to read-only.
  • If the remaining storage space is greater than or equal to 90 GB, the read-only status is automatically disabled for the instance.

Method 1

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, click the target instance.
  4. In the Specification Information area on the Basic Information page, click Scale for an instance.

    Figure 1 Scaling classic storage

    Figure 2 Scaling up cloud native storage

  5. On the displayed page, specify the new storage space and click Next.

    Figure 3 Scaling up classic storage

    Figure 4 Scaling up cloud native storage
    • To scale up classic storage, you need to add at least 1 GB each time. The value must be an integer.
    • To scale up cloud native storage, you need to add at least 10 GB each time. The value must be an integer multiple of 10.

  6. On the displayed page, confirm the storage space.

    • Yearly/Monthly
      • If you need to modify your settings, click Previous.
      • If you do not need to modify your settings, click Submit and complete the payment.
    • Pay-per-use
      • If you need to modify your settings, click Previous.
      • If you do not need to modify your settings, click Submit.

  7. Check the results.

    • When the scaling task is ongoing, the instance status is Scaling storage space.
    • After the scaling task is complete, the instance status becomes Available.
    • Click the instance name. In the Specification Information area on the Basic Information page, you can view the new storage space.

Method 2

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, locate the instance whose storage space you want to scale and choose More > Scale Storage Space in the Operation column.

    Figure 5 Scale Storage Space

  4. On the displayed page, specify the new storage space and click Next.

    Figure 6 Scaling up classic storage

    Figure 7 Scaling up cloud native storage
    • To scale up classic storage, you need to add at least 1 GB each time. The value must be an integer.
    • To scale up cloud native storage, you need to add at least 10 GB each time. The value must be an integer multiple of 10.

  5. On the displayed page, confirm the storage space.

    • Yearly/Monthly
      • If you need to modify your settings, click Previous.
      • If you do not need to modify your settings, click Submit and complete the payment.
    • Pay-per-use
      • If you need to modify your settings, click Previous.
      • If you do not need to modify your settings, click Submit.

  6. Check the results.

    • When the scaling task is ongoing, the instance status is Scaling storage space.
    • After the scaling task is complete, the instance status becomes Available.
    • Click the instance name. In the Specification Information area on the Basic Information page, you can view the new storage space.