Skip to content

Commit d86232a

Browse files
authored
DOCSP-29558 5.0 pushdown projection changes (#3189) (#3472)
* DOCSP-29558 5.0 pushdown projection changes * IF feedback * GH feedback * punctuation
1 parent ce2e735 commit d86232a

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
@@ -576,6 +576,14 @@ collections.
576576

577577
See :ref:`lookup-uncorrelated-subquery`.
578578

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

581589
Auditing

0 commit comments

Comments
 (0)