Skip to content

Commit

Permalink
DOCSP-36128 updating lookup performance (#6139) (#6254)
Browse files Browse the repository at this point in the history
* DOCSP-36128 updating lookup performance

* DOCSP-36128 updating lookup performance
  • Loading branch information
ltran-mdb2 authored Feb 6, 2024
1 parent 56d75ab commit 349fe78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/reference/operator/aggregation/lookup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ different ``$lookup`` operations.

* - :ref:`Uncorrelated Subqueries <lookup-uncorrelated-subquery>`

- .. _uncorrelated-subqueries-performance:

- .. _uncorrelated-subqueries-performance:
- ``$lookup`` operations that contain uncorrelated subqueries
typically perform better when the inner pipeline can reference
an index on the ``foreignField``.
perform better when the inner pipeline can reference an
index of the foreign collection.

- MongoDB only needs to run the ``$lookup`` subquery once before
caching the query because there is no relationship between the
Expand Down

0 comments on commit 349fe78

Please sign in to comment.