forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2.8 KiB
2.8 KiB
SQL Execution Plan
This section describes how to analyze the execution efficiency of a SQL statement.
Procedure
- Log in to the OTC console.
- Click
in the upper left corner and select a region and project. - Click
in the upper left corner, and under Databases, click Data Admin Service. - In the navigation pane on the left, choose Development Tool.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose SQL Operations > SQL Query.
- Select a database in the upper left corner of the page.
- Enter a SQL statement in the SQL window and click Execute 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 time required.
- On the Execution Plan tab page, view SQL execution details. Execution plan details of SQL statements are displayed on different tabs.
Parent topic: SQL Operations