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

[v8.0] Remove Bonsai eligibility check from getExecutor() path

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2024-04-15, QO 2024-04-29

      Bonsai eligibility checks consistently account for ~0.5% of simple index scans on the getExecutor() hotpath. Removing these checks should improve performance slightly, now that Bonsai eligibility checks are somewhat no-ops as of v8.0.

      The most obvious one is in get_executor.cpp:getExecutorFind().

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: