Updated on 2024-10-11 GMT+08:00

Scaling Up Storage Space

Scenarios

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

Precautions

  • Storage space can only be scaled up.
  • When the disk usage of a GeminiDB Redis instance exceeds 95%, the instance enters the read-only mode. You can only read or delete data from the instance, but cannot write new data into it. To keep services accessible, scale up storage space when the disk usage exceeds 80%.
  • Storage scaling does not interrupt your services. After storage scaling is complete, you do not need to restart your instance.

Notes on Setting an Instance 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 Notes on setting an instance 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 GeminiDB console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Instances page, click the target instance.
  4. In the Storage Space area on the Basic Information page, click Scale.

    Figure 1 Scaling storage

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

    Figure 2 Scaling storage

    Select at least 1 GB each time you scale up the storage, and the storage size must be an integer.

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

    • For yearly/monthly instances
      • 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 scaling result.

    • When the scaling task is ongoing, the instance status is Scaling up.
    • After the scaling task is complete, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, view the new storage space.

Method 2

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB.
  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 3 Scaling storage

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

    Figure 4 Scaling storage

    Select at least 1 GB each time you scale up the storage, and the storage size must be an integer.

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

    • For yearly/monthly instances
      • 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 scaling result.

    • When the scaling task is ongoing, the instance status is Scaling up.
    • After the scaling task is complete, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, view the new storage space.