Skip to content

Commit 830990d

Browse files
add sbe to 6.0 release notes (#1218)
* add sbe to 6.0 release notes * fix alphabetizatioN
1 parent edc55e1 commit 830990d

File tree

1 file changed

+36
-12
lines changed

1 file changed

+36
-12
lines changed

source/release-notes/6.0.txt

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ MongoDB 6.0 introduces the following aggregation operators:
116116
- Returns the ``n`` smallest values in an array.
117117
Distinct from the :group:`$minN` accumulator.
118118

119+
* - :expression:`$sortArray`
120+
- Sorts an array based on its elements.
121+
119122
* - :group:`$top`
120123
- Returns the top element within a group according to the specified
121124
sort order.
@@ -125,9 +128,6 @@ MongoDB 6.0 introduces the following aggregation operators:
125128
- Returns an aggregation of the top ``n`` elements within a group,
126129
according to the specified sort order.
127130

128-
* - :expression:`$sortArray`
129-
- Sorts an array based on its elements.
130-
131131
* - :expression:`$tsIncrement`
132132
- .. include:: /includes/tsIncrement-introduction.rst
133133

@@ -139,15 +139,6 @@ MongoDB 6.0 introduces the following aggregation operators:
139139

140140
.. include:: /includes/5.1-fact-sharded-lookup-graphlookup.rst
141141

142-
|sbe-title| Can Execute ``$group`` and ``$lookup`` Stages
143-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144-
145-
Starting in version 6.0, MongoDB uses the |sbe| to execute eligible
146-
:pipeline:`$group` and :pipeline:`$lookup` stages when certain
147-
conditions are met.
148-
149-
For more information, see :ref:`sbe-pipeline-optimizations`.
150-
151142
.. _6.0-rel-notes-change-streams:
152143

153144
Change Streams
@@ -246,6 +237,39 @@ earlier versions of MongoDB, the default chunk size is 64 megabytes.
246237
Starting in MongoDB 6.0, the :dbcommand:`enableSharding` command is
247238
no longer required to shard a collection.
248239

240+
.. _6.0-rel-notes-sbe:
241+
242+
Slot-Based Query Execution Engine
243+
---------------------------------
244+
245+
Starting in MongoDB 5.1, MongoDB uses a new query execution engine for
246+
eligible queries, called the slot-based query execution engine. If the
247+
slot-based query execution engine is used, new fields are included in
248+
the query explain plan output.
249+
250+
- The new query execution engine is used if possible.
251+
252+
- If the new query execution engine is used, new fields are included in
253+
the :ref:`query explain plan output <explain-results-5.1-later>`.
254+
255+
|sbe-title| Can Execute ``$group`` and ``$lookup`` Stages
256+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257+
258+
Starting in version 6.0, MongoDB uses the |sbe| to execute eligible
259+
:pipeline:`$group` and :pipeline:`$lookup` stages when certain
260+
conditions are met.
261+
262+
For more information, see :ref:`sbe-pipeline-optimizations`.
263+
264+
Set |sbe-title| Plan Cache Size
265+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266+
267+
You can set the size of the :ref:`plan cache
268+
<read-operations-query-optimization>` for the new query engine with the
269+
:parameter:`planCacheSize` parameter.
270+
271+
.. include:: /includes/fact-sbe-plan-cache-motivation.rst
272+
249273
Stable API
250274
----------
251275

0 commit comments

Comments
 (0)