All Products
Search
Document Center

Data Management:Diagnose SQL statements

Last Updated:Oct 14, 2026

You can diagnose SQL statements and view optimization suggestions in the SQL console of Data Management (DMS).

Procedure

  1. Log in to DMS 5.0.

  2. In the top navigation bar, choose SQL Console > SQL Console.

    Note

    If you use the DMS console in simple mode, move the pointer over the 2023-01-28_15-57-17.png icon in the upper-left corner of the console and choose All Features > SQL Console > SQL Console.

  3. In the Please select the database first dialog box, enter a keyword to search for a database, select the database instance from the search results, and then click Confirm.

  4. In the command execution area, enter the SQL statement that you want to diagnose, and then click SQL Diagnostics.

  5. After the diagnosis is complete, view the diagnosis results in the SQL Diagnosis dialog box.

    The diagnosis results include Diagnosis suggestions and Optimization suggestions.