Help Center/ GeminiDB/ GeminiDB Influx API/ Working with GeminiDB Influx API/ Instance Modifications/ Manually Scaling Up Disk Capacity of a GeminiDB Influx Instance
Updated on 2025-01-24 GMT+08:00

Manually Scaling Up Disk Capacity of a GeminiDB Influx Instance

Scenarios

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

Storage scaling does not interrupt your services. After storage scaling is complete, you do not need to restart your instance.

Usage Notes

  • Storage space can only be scaled up.
  • The storage details can be displayed on the Instances page. To query the details, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact customer service.

Setting an Instance Status to Read-Only

To ensure that the GeminiDB Influx instance can still run properly when 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 scale up the storage to restore the database status to read/write.

Table 1 Setting an instance status to read-only

Storage Capacity

Description

< 600 GB

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

≥ 600 GB

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

The kernel uses an LSM architecture. When written or deleted data reaches a certain amount, it will be merged. New data and old data to be deleted are stored together, and the disk usage increases temporarily based on the amount of merged data. In this case, the read-only status may be triggered. You are advised to reserve sufficient disk space to prevent the read-only status.

Method 1

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Influx API.
  3. On the Instances page, locate the instance whose storage space you want to scale up and click its name.
  4. In the Storage Space area on the Basic Information page, click Scale.

    Figure 1 Scaling up storage space

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

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

    • For yearly/monthly instances
      • If you need to modify the settings, click Previous.
      • If you do not need to modify the settings, click Submit and complete the payment.
    • For pay-per-use instances
      • If you need to modify the settings, click Previous.
      • If you do not need to modify the settings, click Submit.

  7. Check the scaling-up result.

    • When the scale-up task is ongoing, the instance status is Scaling up.
    • After the scale-up task is complete, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, check whether the scale-up is successful.

Method 2

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

    Figure 2 Scaling up storage space

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

    Figure 3 Scaling up storage space

    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 the settings, click Previous.
      • If you do not need to modify the settings, click Submit and complete the payment.
    • For pay-per-use instances
      • If you need to modify the settings, click Previous.
      • If you do not need to modify the settings, click Submit.

  6. Check the scaling-up result.

    • When the scale-up task is ongoing, the instance status is Scaling up.
    • After the scale-up task is complete, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, check whether the scale-up is successful.