Help Center > > User Guide> MySQL DB Instance Management (Development Tool)> Intelligent O&M> Slow Query Logs

Slow Query Logs

Updated at: Jun 09, 2021 GMT+08:00

Scenarios

After the slow SQL function is enabled, DAS automatically stores the SQL statements for analysis. You can view the SQL text content by viewing slow query logs.

Procedure

  1. On the top menu bar, choose Intelligent O&M > Slow Query Logs.

    Figure 1 Slow Query Logs

  2. On the Log Trends page, click a trend chart to view details about slow query logs in a specified period.

  3. On the Details tab page, view the slow query log details by database.

    Figure 2 Slow query log details

  4. On the Log Archiving tab page, view details about the archived slow query logs. You can also click Download in the Operation column to download the logs to your local PC.

    Figure 3 Log archiving

    Click Generate Latest Log File in the upper right corner to quickly generate the latest slow query logs.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel