Files
doc-exports/docs/rds/umn/rds_08_0031.html
wangdengke2 ac787f42f1 rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2026-02-05 14:42:55 +00:00

3.3 KiB

Viewing Top SQL Statements of a DB Instance

Scenarios

Top SQL shows the SQL queries that have been contributed at most to database load. You can sort them by multiple dimensions.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instances page, click the DB instance name.
  5. In the navigation pane, choose DBA Assistant > Historical Diagnosis.
  6. Choose SQL Explorer > Top SQL.

    Top SQL needs to be purchased separately. To use this function, subscribe to Intelligent O&M first.

  7. Click Subscribe. In the displayed dialog box, learn about Intelligent O&M functions and pricing.
  8. After subscribing to Intelligent O&M, view top SQL statements of your instance.
  9. You can view execution durations of the top SQL statements in the last 1 hour, last 3 hours, last 12 hours, or a custom time period (spanning no more than one day).