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

Construct mapping between PlanStages and QuerySolutionNodes during stage builders

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible

      As part of implementing explain for cost-based ranking of plans, we need to maintain a mapping from QSN and PlanStages. This is because explain is implemented over PlanStage trees whereas all cardinality/cost estimates are performed over QuerySolutionNodes. This mapping will allow us to associate PlanStages with their corresponding estimates.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: