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

Delete SBE TraverseStage

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • 1

      As part of the "improve SBE performance" project, we have been working to eliminate the remaining uses of the TraverseStage in the code base, instead favoring the traverseF and traverseP builtin functions for doing array traversal. The reason is that we have found that plans constructed to implement MQL queries using traverseF/traverseP tend to have substantially better performance than those constructed using TraverseStage. Note that the Bonsai optimizer will also use traverseF/traverseP instead of TraverseStage when doing ABT lowering.

      Once TraverseStage is no longer used, there is probably not a huge motivation to keep it around in the code base. We should consider deleting it.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: