Data Admin Service
Data Admin Service
- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Overview
- Permissions Management
- Logging In to the DAS Console
- Adding Login Information
- Logging In to a Database
- Modifying Login Information
- Deleting Login Information
- Logging In to Databases Shared by Others
- MySQL DB Instance Management (Development Tool)
- RDS for PostgreSQL Instance Management (Development Tool)
- DDS DB Instance Management (Development Tool)
- Distributed DDM DB Instance Management (Development Tool)
- Intelligent O&M
- Audit
- Change History
- Best Practices
-
FAQs
- Product Consulting
-
Connection Management (Development Tool)
- What Should I Do If I Can't Connect to My DB Instance Due to Insufficient Permissions?
- What Should I Do If I Can't Connect to My RDS for MySQL Instance?
- What Should I Do If I Can't Connect to My ECS (MySQL) Instance?
- What Should I Do If I Can't Connect to My RDS for PostgreSQL Instance?
- What Should I Do If I Can't Connect to My ECS (PostgreSQL) Instance?
- What Should I Do If I Can't Connect to My DDS Instance?
- What Should I Do If I Can't Connect to My DDM Instance?
- How Do I View and Modify ECS Security Group Rules?
- How Do I View and Modify Firewall Rules?
- Usage
- Service Support
- Change History
- Videos
On this page
Show all
Help Center/
Data Admin Service/
User Guide/
Intelligent O&M/
MySQL DB Instances/
SQL/
Slow Query Logs
Slow Query Logs
Updated on 2023-03-07 GMT+08:00
Procedure
- Log in to the DAS console.
- On the Overview page, click Go to Intelligent O&M.
- Select the target instance and click Details.
- Choose SQL > Slow Query Logs to view log trends of the instance.
- Set a time range or select Last 1 hour, Last 6 hours, or Last 1 day to view slow query logs, CPU usage, and archived slow query logs.
- Toggle on 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 page, view statistics and details of slow query logs.
- Query and view slow query logs by database name.
- On the Log Archiving tab page, obtain the slow query log files of the current DB instance in either of the following ways: (The archiving function saves slow query log files generated in the last 10 days.)
- Click Generate Latest Log File.
- DAS automatically generates a slow query log every time the log data reaches 50 MB.
- In the slow query log list, locate the log that you want to view and click Download to download log data.
Parent topic: SQL
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.