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

Have the planner consider partial indexes for optimized contained-$or queries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      The logic to strip invalid assignments of predicates to partial indexes is unaware of the contained-$or pushdown optimization. The analysis of which tags need to be stripped due to the partial index filter happens before any code relating to the contained-$or pushdown optimization. In order to fix this, we need to somehow make the index selection logic for partial indexes aware of the contained-$or pushdown optimization.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            eric.sedor@mongodb.com Eric Sedor
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: