The DCS Redis instance console provides application data management function and supports the management of DB data of the DCS instance through the command window, including adding, deleting, and modifying key-value pairs, as well as clearing group data.
Before You Begin
This operation can only be performed when the DCS Redis instance is in the Running state.
Procedure
1. Log in to the Redis management console.
2. Select the region of the instance in the upper left corner of the management console.
3. On the application data management page, select the target instance.
4. Then, select the DB group number to be operated.
5. On the data management details page, click the Command Window button to open the command window and execute corresponding command operations on the instance DB.
6. On the data management details page, click the Clear Group Data button to delete all data in the instance DB.
Note:
Clearing group data will clear all data in the corresponding group of the instance, and it is irreversible, so please operate with caution.
Deleting a Key
After selecting the DB group and executing a query, the details page under will display all the keys, the key types, the number of elements contained in the key, and the DB in which the keys are located under the current DB group. Click the Delete button in the operation column to delete the selected key.
Modifying a Key
l In the above table, after double-clicking to select a key, the element key-value pairs of the selected key will be displayed in the table at the bottom of that page. Click the edit icon to enter the editing state. After modifying the key or value, the modified value will be saved.
l Clicking the Delete button in the operation column to delete the selected element.