All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Basic data operations

Last Updated:Dec 20, 2024

Data Management (DMS) offers command-line options and the GUI to facilitate the management of Tair and Redis Open-Source Edition instances. In addition to basic data manipulation, DMS supports extended features.

Background information

DMS is an all-in-one data management service that supports a variety of relational 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. Use DMS to connect to an instance.

  2. Perform section-specific operations based on your business requirements.

    Figure 1. DMS user interface DMS界面

    No.

    Section

    Description

    Database selection section

    Double-click database names to switch between databases.

    Visual operation section

    Manage keys in 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 select multiple keys at a time while holding the Shift key.

    • Search for keys: Enter the key name in the search box and click the 搜索按钮 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 or 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入口图标 (DAS shortcut): allows you to view real-time performance data and manage instance sessions. For more information, see Real-time performance monitoring and Session management.

    • 操作审计入口图标 (Operation audit): stores all data queries and change records. The feature allows you to query information about a performed operation, such as the user that performed the operation and the time when the operation was performed. For more information, see Audit operations.

    • 分享功能图标 (Sharing): allows you to share the database console and commands with relevant personnel. For more information, see Share the SQLConsole tab or a ticket.

      Note

      The supported features are displayed in the console.

    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.

    Important

    DMS has limits on Redis commands. For more information, see SQL Console for Redis.