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

$lookup should batch query requests

    XMLWordPrintableJSON

Details

    • Query Optimization

    Description

      The $lookup stage currently does one query per input document, which can introduce a significant amount of overhead if there are few results. Instead, the $lookup stage should batch up a couple documents and query for their results all at once.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            9 Vote for this issue
            Watchers:
            24 Start watching this issue

            Dates

              Created:
              Updated: