Updated on 2022-02-22 GMT+08:00
Slow Query Log
Scenarios
Slow query logs record statements whose execution period exceeds the value of operationProfiling.slowOpThresholdMs (100 ms by default). With slow query logs, you can identify and optimize slowly executed statements.
Procedure
- Log in to the DDS console.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, click Slow Query Logs.
- On the Slow Query Logs page, set search criteria and click Search to view log information.
- Log records of all shards of a cluster instance
- Log records of all nodes of a replica set instance
- Slow query logs of a node in different time periods
- Slow query statements of the following level
- All statement type
- INSERT
- QUERY
- UPDATE
- REMOVE
- GETMORE
- COMMAND
- KILLCURSORS
Parent topic: Log Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot