1.

What level of concurrency does MongoDB has?

Answer»

MongoDB has the db.collection.explain(), cursor.explain() and explain command to provide INFORMATION on the query PLAN. The results of explain contain a lot of information, key ones being

  • rejectedPlans, other plans considered by the database (if any)
  • winningPlan, the plan SELECTED by the query optimizer for execution
  • executionStats, gives detailed information on the winning plan
  • IXSCAN stage, if the query planner selects an index, the explain result will include this stage. This is one of the key THINGS to look for when ANALYZING the query plan for performance optimization


Discussion

No Comment Found