Updated on 2025-07-29 GMT+08:00

Clearing GeminiDB Redis Instance Data

Scenarios

GeminiDB Redis API allows you to clear all data in an instance or data in a specified database to release instance space.

Usage Notes

  • Cleared data cannot be restored. Back up the instance before you clear it. For details, see Creating a Manual Backup.
  • After you select Specified DB, only the data in the selected database is cleared.
  • Redis Cluster GeminiDB Redis instances do not support this function.

Procedure

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Instances page, click the target instance.
  4. In the upper right corner of the Basic Information area, click Clear Data.

    Figure 1 Clearing data
    • If you want to clear all data in the instance, select All and click OK.
      Figure 2 Clearing all data
    • If you need to clear data of a specified database, select Specified DB, enter the number of the target database, and click OK.

      The number of the database must be an integer ranging from 0 to 65535.

      Figure 3 Clearing data of a specified database