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

Implement grafting of post-multiplan tree onto multiplan candidates

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2021-09-06, QE 2021-09-20

      Multi-planning for queries with $group or $lookup in the find() layer will work as follows:
      1) Run all of the 'multiplanned' candidate plans and choose the winner, using the existing infrastructure.
      2) Stitch the 'postMultiPlan' tree on top of the QSN of the winning plan.
      3) Build an execution tree for this new QSN tree.

            Assignee:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: