forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2.7 KiB
2.7 KiB
Slow Query Logs
Procedure
- Log in to the DAS console using your username and password.
- On the Overview page, click Go to Intelligent O&M.
- Select the required instance and click Details to go to the Intelligent O&M overview page.
- Choose SQL > Slow Query Logs to view the slow query log trend of the instance.
- 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.
- Click Enable DAS Slow Query Log. In the displayed dialog box, read and agree to the security agreement, and click OK.
- 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.
- In the slow query log list, locate the log that you want to view and click Download to download log data.
Parent topic: SQL