This incident type describes an issue where the efficiency of queries in MongoDB is degrading. The incident may be triggered by an alert monitoring system that detects an anomaly in the performance of queries executed in the database. The incident may result in a decrease in system performance and may require the attention of a software engineer to troubleshoot and resolve the issue.
Parameters
Debug
First, let's check if the MongoDB instance is running
If the instance is running, check the logs for any errors
Check if the MongoDB queries are taking longer than usual (replace <database> and <collection> with the relevant names)
Check the disk usage of the MongoDB instance
Check the network connectivity between the MongoDB instance and the application server
Check the CPU and memory usage of the application server
Repair
Define variables
Check for issues or errors in the MongoDB database
Optimize indexes
Run database repairs
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.