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

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

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

      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@mongodb.com Rui Liu
            Reporter:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: