Mongodb – Mongo: Why totalDocExamined is greater than zero
Refer to this document explain.executionStats.totalKeysExamined Number of index entries scanned. totalKeysExamined corresponds to the nscanned field returned by cursor.explain() in earlier versions of MongoDB. explain.executionStats.totalDocsExamined Number of documents examined during query execution. Common query execution stages that examine documents are…