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

never do a table scan to answer db.f.find( {y:10} ).sort( {x:1} ) when have index {x:1,y:1}

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
    • Operating System:
      ALL

      Description

      explain() output indicates a table scan may be attempted along with the index

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aaron Aaron Staple (Inactive)
                Participants:
              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: