Files
doc-exports/docs/rds/umn/rds_08_0031.html
wangdengke2 88b6007443 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-04-02 09:58:19 +00:00

3.1 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 SQL Analysis and Tuning under DBA Assistant.
  6. Click the Top SQL tab.

    Top SQL needs to be purchased separately. To use this function, upgrade DBA Assistant first.

  7. Click Upgrade DBA Assistant. In the displayed dialog box, you can learn about the enhanced features and billing rules.
  8. After the upgrade is complete, view top SQL statements of your instance.
  9. View execution durations of the top SQL statements in the last 1 hour, last 3 hours, last 6 hours, last 12 hours, or a custom time range (spanning no more than one day).