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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Querying

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: