Updated on 2024-08-29 GMT+08:00

Executing SQL Plan

This section describes how to analyze the execution efficiency of a SQL statement.

Procedure

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose SQL Operations > SQL Query.
  7. Select a database and schema from the navigation tree on the left.
  8. Enter a SQL statement in the SQL window and click Execute SQL Plan.

    Figure 1 Executing SQL plan
    • On the Executed SQL Statements tab page, view SQL execution history.
    • On the Messages tab page, view the execution information, including SQL splitting, execution status, and elapsed time.
    • On the Execution Plan tab page, view SQL execution details. Execution plan details of SQL statements are displayed on different tabs.