presentation

Deciphering .explain() Output

PublishedJune 28, 2016
LanguageEnglish

MongoDB provides the db.collection.explain() method, the cursor.explain() method, and the explain command to return information on query plans and execution statistics of the query plans. This is a useful tool to use for analyzing individual query performance in the shell. In this session we will analyze explain output for query and aggregation. You will learn how to read an explain plan and understand how this information can be used in performance tuning.