Skip to content

Commit 4262b93

Browse files
authored
DOCSP-29558 5.0 pushdown projection changes (#3189)
* DOCSP-29558 5.0 pushdown projection changes * IF feedback * GH feedback * punctuation
1 parent fc5c029 commit 4262b93

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
@@ -580,6 +580,14 @@ collections.
580580

581581
See :ref:`lookup-uncorrelated-subquery`.
582582

583+
``$sort`` Stage: Performance Improvements
584+
`````````````````````````````````````````
585+
586+
Starting in MongoDB 5.0, the :term:`query optimizer` pushes down the results of
587+
a :pipeline:`$project` stage into the :pipeline:`$sort` stage. As a result,
588+
``$sort`` operations can require less RAM when used with the ``project`` stage
589+
and avoid ``Sort exceeded memory limit`` errors.
590+
583591
.. _5.0-rel-notes-auditing:
584592

585593
Auditing

0 commit comments

Comments
 (0)