Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5336

explain() cursor field should store index used and type of scan in separate fields

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:

      Description

      The cursor field for an explain() may look like this:

      { "cursor" : "BtreeCursor x_1 reverse multi" }

      Rather than storing all of this information in the same field, we could break it up in to separate fields:

      { "cursor" : "BtreeCursor",
      "index":

      {x: 1}

      ,
      "iterators": ["reverse", "multi"]
      }

      Not sure on the name of the last one, but you get the idea.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.storch David Storch
              Reporter:
              kbanker Kyle Banker
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: