Viewing Top SQL Statements of a DB Instance
Scenarios
Top SQL shows the SQL queries that have been contributing the most to DB load. You can sort them by multiple dimensions.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service. - On the Instances page, click the target instance name to go to the Summary page.
- In the navigation pane, choose DBA Assistant > Historical Diagnosis. Then, click the SQL Explore tab.
- Click the Top SQL tab.
This function is only available with Advanced DBA Assistant.
- 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).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.