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

Implement grafting of post-multiplan tree onto multiplan candidates

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QE 2021-09-06, QE 2021-09-20

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: