The slow query logs feature of ApsaraDB RDS for MySQL allows you to view the trends, execution status, and optimization suggestions of slow query logs.

Prerequisites

The MySQL version and RDS edition are as follows:
  • MySQL 8.0 High-availability Edition or Enterprise Edition
  • MySQL 5.7 High-availability Edition or Enterprise Edition
  • MySQL 5.6
  • MySQL 5.5

Go to the slow query logs page

  1. Log on to the ApsaraDB for RDS console.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the target RDS instance resides.
    Select a region
  3. Find the target instance and click the instance ID.
  4. In the left-side navigation pane, choose Autonomy Service (CloudDBA) > Slow Query Logs.
    Note For more information, see Diagnostics.