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

Make partial index subset analysis consider $elemMatch object a subset of $exists

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Querying
    • Labels:
      None
    • Environment:
    • Case:

      Description

      The query explainer don't consider the keys in $elemMatch expression when to decide index boundaries. Instead, it scans all entries in the selected index.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-optimization Backlog - Query Optimization
              Reporter:
              huyingming Alex Hu
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated: