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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Querying
    • None
    • Query Optimization

    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

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

              Dates

                Created:
                Updated: