MongoDB Sessions
MongoDB is a NoSQL database optimized for unstructured data and known for its flexibility in storing JSON-like documents.
This section covers key questions to help you monitor MongoDB, ensure performance, and optimize resource use.
Key areas of focus
Below are some useful questions to ask when managing your MongoDB setup:
General resource management
- What MongoDB clusters are active in my account?
- How much storage is being used across my MongoDB clusters?
- Are there any underused databases that I can archive or scale down?
Performance & monitoring
- What is the average response time for queries on each MongoDB collection?
- Are there any slow-running queries that need optimization?
- How can I monitor CPU and memory usage across my MongoDB instances?
Backup & recovery
- When was the last backup taken for each MongoDB database?
- Are my MongoDB backups configured for regular intervals?
- How do I restore a database from a recent backup?
Index management
- What indexes are currently in place on each MongoDB collection?
- Are there any unused indexes that could be removed?
- How can I optimize existing indexes to improve query performance?
Security & user access
- Who has read or write access to my MongoDB databases?
- Are there any unused user accounts that should be removed?
- How do I enforce role-based access controls for better security?