Updated on 2023-04-17 GMT+08:00

Slow Query Logs

Procedure

  1. Log in to the DAS console.
  2. On the Overview page, click Go to Intelligent O&M.
  3. Select the required instance and click Details.
  4. Choose SQL > Slow Query Logs to view log trends of the instance.
  5. Specify a time range or select Last 1 hour, Last 6 hours, or Last 1 day to view the corresponding slow query logs and CPU usage.
  6. Toggle on Enable DAS Slow Query Log. In the displayed dialog box, read and agree to the security agreement, and click OK.
  7. At the lower part of the Log Trends page, view statistics and details of slow query logs.

    • Query and view slow query logs by database name.

  8. In the slow query log list, locate the log that you want to view and click Download to download log data.