Improve SBE multi-planner performance for query which returns zero results

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • v7.0
    • QE 2023-09-18, QE 2023-10-02, QE 2023-10-16
    • 170
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A $in query with multiple index choice and empty result is much slower after 6.3 upgrade, from the explain output we can tell that the problem is from SBE multi-planner. One of the predicate is an empty $in predicate descriptionRef:{ $in: []}{}, we should think about whether there's anything we can do to improve the performance of the multi-planner in this scenario.

              Assignee:
              Rui Liu
              Reporter:
              Zixuan Zhuang
              Votes:
              0 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: