Don't construct SolutionCacheData for SBE queries

XMLWordPrintableJSON

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

      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.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: