All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Performance analysis

Last updated:2020-12-02 17:27:48

Use performance analysis

Traditional enterprises rely on database administrators (DBAs) for database O&M and troubleshooting. The ability of a DBA directly affects the database health. The performance analysis feature of KRDS for MySQL resolves this issue and helps you identify instability factors that affect your database, such as slow SQL queries, ensuring the safe and efficient operation of the database.

View slow SQL analysis

Go to the details page of an instance and choose Performance Analysis > Slow SQL Query in the left navigation pane. You can view the slow SQL trend in the upper part of the page.

性能分析1.png

Note: If the database audit feature is disabled, the slow SQL trend does not show the slow SQL proportion.

View slow SQL statistics

Click the Slow SQL Statistics tab in the lower part of the page. You can view the slow SQL statistics within a specific time range by SQL template.

性能分析2.png

Click an SQL template. The Slow SQL Details tab appears and displays all slow SQL statements in the template.

性能分析3.png

View slow SQL details

Click the Slow SQL Details tab in the lower part of the page. You can view the slow SQL details within a specific time range by SQL statement.

性能分析4.png

You can also search for slow SQL statements within a specific time range by selecting the check boxes for SQL statements and selecting an SQL template from the drop-down list.

性能分析5.png

View hotspot table analysis

Go to the details page of an instance and choose Performance Analysis > Hotspot Table Analysis in the left navigation pane.

性能分析6.png

The hotspot table analysis page displays the top 10 most frequently executed SQL statements and top 10 most time-consuming SQL statements within the selected time range.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback