Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5920

Add missing explain() documentation fields

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Hey guys
      The return of executionStats explain is:

       "executionStats" : {
                      "executionSuccess" : true,
                      "nReturned" : 29861,
                      "executionTimeMillis" : 424,
                      "totalKeysExamined" : 29861,
                      "totalDocsExamined" : 29861,
                      "executionStages" : {
                              "stage" : "FETCH",
                              "nReturned" : 29861,
                              "executionTimeMillisEstimate" : 410,
                              "works" : 29862,
                              "advanced" : 29861,
                              "needTime" : 0,
                              "needFetch" : 0,
                              "saveState" : 234,
                              "restoreState" : 234,
                              "isEOF" : 1,
                              "invalidates" : 0,
                              "docsExamined" : 29861,
                              "alreadyHasObj" : 0,
                              "inputStage" : {
                                      "stage" : "IXSCAN",
                                      "nReturned" : 29861,
                                      "executionTimeMillisEstimate" : 20,
                                      "works" : 29862,
                                      "advanced" : 29861,
                                      "needTime" : 0,
                                      "needFetch" : 0,
                                      "saveState" : 234,
                                      "restoreState" : 234,
                                      "isEOF" : 1,
                                      "invalidates" : 0,
                                      "keyPattern" : {
                                              "a" : 1,
                                              "b" : 1
                                      },
                                      "indexName" : "a_1_b_1",
                                      "isMultiKey" : false,
                                      "direction" : "forward",
                                      "indexBounds" : {
                                              "a" : [
                                                      "[111.0, 111.0]"
                                              ],
                                              "b" : [
                                                      "[MinKey, MaxKey]"
                                              ]
                                      },
                                      "keysExamined" : 29861,
                                      "dupsTested" : 0,
                                      "dupsDropped" : 0,
                                      "seenInvalidated" : 0,
                                      "matchTested" : 0
                              }
                      }
              },
      

      But i can`t find the docs of this fileds:

      • works
      • advanced
      • needTime
      • needfetch
      • saveState
      • restoreState
      • isEOF
      • invalidates
      • dupsTested
      • dupsDropped
      • seenInvalidated
      • matchTested

      Could u pls tell me what the meaning of this fileds?

      Thanks

            Assignee:
            Unassigned Unassigned
            Reporter:
            eshujiushiwo Edision chow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 40 weeks, 2 days ago