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

Don't construct SolutionCacheData for SBE queries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: