Interview practice question
MongoDB working set exceeds memory
Backend Engineering · NoSQL and Redis · Experienced
Your MongoDB queries suddenly got much slower as data grew, and disk reads spiked. What is likely happening?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Working set (hot data + indexes) exceeds RAM.
- Cache misses → disk reads.
- Add RAM or shard.
- Trim indexes, archive old data.
- Check query patterns touching cold data.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.