RDS Instances Support Slow Query Logs
Rule Details
Parameter |
Description |
---|---|
Rule Name |
rds-instance-enable-slowLog |
Identifier |
rds-instance-enable-slowLog |
Description |
If slow query logging is not enabled for an RDS DB instance, this instance is non-compliant. |
Tag |
rds |
Trigger Type |
Configuration change |
Filter Type |
rds.instances |
Rule Parameters |
None |
Application Scenarios
Slow query logs record statements that exceed the execution duration threshold. You can view log details and statistics to identify statements that are executing slowly and optimize the statements. You can also download slow query logs for service analysis.
Solution
Configure slow log collection. For details, see Log Configuration Management.
Rule Logic
- If slow query logging is not enabled for an RDS DB instance, this instance is non-compliant.
- If slow query logging is enabled for an RDS DB instance, this instance is compliant.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot