DZone Database Zone
Getting started with MongoDB explain()
For almost all operations, there will be more than one way for MongoDB to retrieve the documents required. When MongoDB parses a statement, it must decide which approach will be fastest. The process of determining this “optimal” path to the data is referred to as query optimisation.
Basics of query optimizationFor instance, consider the following query:
No comments:
Post a Comment