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

Optimize lookup of array elements in local when lowering $lookup into NLJ in SBE

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2022-04-04

      A naïve implementation would traverse the array for each record in the foreign table. This might or might not be a problem. Should measure and, if necessary, optimize it by repacking the array or keys into a set.

            Assignee:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Reporter:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: