Skip to content

Commit 50ca3bb

Browse files
authored
DOCSP-29558 5.0 pushdown projection changes (#3189) (#3471)
* DOCSP-29558 5.0 pushdown projection changes * IF feedback * GH feedback * punctuation
1 parent 2a60b54 commit 50ca3bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/release-notes/5.0.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,14 @@ collections.
573573

574574
See :ref:`lookup-uncorrelated-subquery`.
575575

576+
``$sort`` Stage: Performance Improvements
577+
`````````````````````````````````````````
578+
579+
Starting in MongoDB 5.0, the :term:`query optimizer` pushes down the results of
580+
a :pipeline:`$project` stage into the :pipeline:`$sort` stage. As a result,
581+
``$sort`` operations can require less RAM when used with the ``project`` stage
582+
and avoid ``Sort exceeded memory limit`` errors.
583+
576584
.. _5.0-rel-notes-auditing:
577585

578586
Auditing

0 commit comments

Comments
 (0)