[SERVER-71974] Delete SBE TraverseStage Created: 08/Dec/22  Updated: 14/Mar/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:
Story Points: 1

 Description   

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.


Generated at Thu Feb 08 06:20:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.