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

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

      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.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: