Data Management (DMS) provides multiple extended features and allows you to manage ApsaraDB for Redis instances by using commands or interfaces.

Background information

DMS is an all-in-one data management service that supports multiple relational databases and NoSQL databases. The service offers features such as data management, schema management, user authorization, security audit, data trend analysis, and data tracking. For more information about DMS, see Overview. You can use DMS to manage databases with ease. This enhances data security, improves management efficiency, and maximizes data value.

Procedure

  1. Log on to the ApsaraDB for Redis console by using DMS. For more information, see Log on to an ApsaraDB for Redis instance by using DMS.
  2. Perform section-specific operations based on your business requirements.
    Figure 1. DMS interface
    DMS interface
    No. Section Description
    Database selection section Double-click database names to switch ApsaraDB for Redis databases.
    Visual operation section Manage keys in ApsaraDB for Redis databases:
    • Add keys: Click New. On the right-side tab, specify the key name, data type, time to live (TTL) or timeout period, and key value, and then click Submit.
    • Delete keys: In the key list, select the keys that you want to delete, and then click Delete. You can hold down the Shift key and click to select multiple keys at a time.
    • Search for keys: Enter the key name in the search box and click the Search icon icon.
    • Modify keys: In the key list, double-click the key that you want to modify, enter a key value and TTL on the right-side tab, click Submit, and then click Execute.
      Note You cannot modify key names and data types.
    Extended feature section In this section, shortcuts to extended features are provided. You can use these features by clicking the following icons:
    • DAS icon (DAS shortcut): provides real-time performance and instance sessions. The feature allows you to obtain performance information about ApsaraDB for Redis databases in real time. For more information, see View real-time performance metrics and View sessions of an ApsaraDB for Redis instance.
    • Operation audit icon (operation audit): stores all data queries and change records. The feature allows you to query information about performed operations, such as the user that performed the operation, and the time when the operation was performed.
    • Share icon (sharing): allows you to share the console and database commands with relevant staff. For more information, see Share the SQLConsole tab or a ticket.
    CLI section Enter the command that you want to run such as DBSIZE, and then click Execute to view the output and history information about the execution.
    Notice DMS has limits on Redis commands. For more information, see SQL Console for Redis.