Sep 022011
Explain query execution plan in MongoDB
Answer:
Like MySQL, you can get a better understanding of the performance of your MongoDB's query, you can use the $explain feature.
E.g.
db.collection.find(query).explain();
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Explain query execution plan in MongoDB
Answer:
Like MySQL, you can get a better understanding of the performance of your MongoDB's query, you can use the $explain feature.
E.g.
db.collection.find(query).explain();