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

Consider scanning multikey indices for sorting on arrays and limit:1

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

      As a special case to SERVER-40597, a multikey index could be used if the operation includes limit:1.  This optimization may not extend meaningfully for other values applied to the limit.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            christopher.harris@mongodb.com Chris Harris
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: