Updated on 2024-08-03 GMT+08:00

Scaling Up Storage Space

Scenarios

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

During the scale-up process, the DB instance will not restart, and your services will not be interrupted.

Setting the Disk as Read-only When the Disk Space Is Full

To ensure that the GeminiDB Mongo instance can still be used if the storage space is about to be used up, the database is set as 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 Instance read-only upon full storage

Disk Space

Description

Less than 600 GB

  • When the disk usage reaches 97%, the DB instance status is set to read-only.
  • When the disk usage decreases to 85%, the read-only state is automatically canceled for the DB instance.

Greater than or equal to 600 GB

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

Precautions

  • Storage space can only be scaled up.
  • To view storage details on the Instances page, contact customer service.

Method 1

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, click the instance that you want to scale.
  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 the new storage capacity and click Next.

    Figure 2 Scaling up storage space

    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 instance
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Submit and complete the payment.
    • For pay-per-use instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify the specifications, click Submit to scale up the storage space.

  7. Check the scaling-up result.

    • The status of the DB instance in the instance list is Scaling up.
    • After the scale up is completed, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, check whether the scale up was successful.

Method 2

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instance Management page, locate the instance whose storage space you want to scale up and choose More > Scale Storage Space in the Operation column.

    Figure 3 Scaling up storage space

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

    Figure 4 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 node configuration details.

    • For yearly/monthly DB instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Next and complete the payment.
    • For pay-per-use instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Submit to add the nodes.

  6. Check the scaling-up result.

    • The status of the DB instance in the instance list is Scaling up.
    • After the scale up is completed, the instance status becomes Available.
    • In the Storage Space area on the Basic Information page, check whether the scale up was successful.