[SERVER-82980] Don't construct SolutionCacheData for SBE queries Created: 08/Nov/23 Updated: 22/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Boros | 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: |
| Description |
|
SolutionCacheData is the minimal data needed to reconstruct a QuerySolution. It is only used in the classic plan cache, since the SBE plan cache stores the lowered sbe::PlanStage instead. However in QueryPlanner::plan we compute SolutionCacheData regardless of what engine is being used. If we are running an SBE query, we could pass a flag to QueryPlanner::plan to not construct the SolutionCacheData. |