Skip to content

Commit 6c96774

Browse files
authored
DOCSP-29558 5.0 pushdown projection changes (#3189) (#3473)
* DOCSP-29558 5.0 pushdown projection changes * IF feedback * GH feedback * punctuation
1 parent a7f02d9 commit 6c96774

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/release-notes/5.0.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ Issues fixed:
439439

440440
- :ref:`5.0.1-changelog`
441441

442+
442443
5.0.0 - Jul 13, 2021
443444
~~~~~~~~~~~~~~~~~~~~
444445

@@ -576,6 +577,14 @@ collections.
576577

577578
See :ref:`lookup-uncorrelated-subquery`.
578579

580+
``$sort`` Stage: Performance Improvements
581+
`````````````````````````````````````````
582+
583+
Starting in MongoDB 5.0, the :term:`query optimizer` pushes down the results of
584+
a :pipeline:`$project` stage into the :pipeline:`$sort` stage. As a result,
585+
``$sort`` operations can require less RAM when used with the ``project`` stage
586+
and avoid ``Sort exceeded memory limit`` errors.
587+
579588
Aggregation Metrics
580589
```````````````````
581590

0 commit comments

Comments
 (0)