4 ms·MongoDB needs indexes to fit in memory, not the entire dataset. This is an important distinction.by amalag 15y agoMongoDB needs indexes to fit in memory, not the entire dataset. This is an important distinction.