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

Long Bonsai optimization time with large $in predicates

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2023-05-29
    • 35

    Description

      Queries with large $in predicate take very long time to optimize in Bonsai.

      For instance, the query in the LargeIndexedIns genny benchmark modified to have 500 elements in the $in predicate takes 6ms with Classic and ~2960ms with Bonsai.

       

      The investigation is done as part of SERVER-76981, this task will address the problem.

      Attachments

        Activity

          People

            timour.katchaounov@mongodb.com Timour Katchaounov
            milena.ivanova@mongodb.com Milena Ivanova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: