# Slow Query Logs

#### Procedure

1. Log in to the DAS console using your username and password.
2. On the Overview page, click Go to Intelligent O&M.
3. Select the required instance and click Details to go to the Intelligent O&M overview page.
4. Choose SQL > Slow Query Logs to view the slow query log trend 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, CPU usage, and archived slow query logs.
6. Click 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 tab page, view statistics and details of slow query logs.

   - Query and view slow query logs by database name.
   - Click Export to export the slow query logs.
   - Click Export History to view the export history of slow query logs.
8. In the slow query log list, locate the log that you want to view and click Download to download log data.

Parent topic: SQL