Skip to content

Commit 98c08f4

Browse files
authored
DOCS-15997 planCacheSize Parameter SBE (#3254) (#3281)
* DOCS-15997 planCacheSize Parameter SBE * JA feedback * DS feedback * DS feedback + move to 6.3 release notes
1 parent 0a16ee0 commit 98c08f4

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

source/reference/parameters.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5028,17 +5028,21 @@ Slot-Based Execution Parameters
50285028

50295029
.. parameter:: planCacheSize
50305030

5031-
.. versionadded:: 5.1
5031+
.. versionadded:: 6.3
50325032

50335033
*Type*: string
50345034

50355035
*Default*: 5%
50365036

50375037
|mongod-only|
50385038

5039-
Sets the size of the :ref:`plan cache
5040-
<read-operations-query-optimization>` for the slot based query
5041-
execution engine.
5039+
.. note::
5040+
5041+
Although the ``planCacheSize`` parameter existed in prior versions of
5042+
MongoDB, it had no effect on the plan cache until version 6.3.
5043+
5044+
Sets the size of the :ref:`plan cache <read-operations-query-optimization>`
5045+
only for the :ref:`slot-based query execution engine <5.1-rel-notes-sbe>`.
50425046

50435047
You can set the :parameter:`planCacheSize` value to either:
50445048

source/release-notes/5.1.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,6 @@ new fields are included in the query explain plan output.
150150
- If the new query execution engine is used, new fields are included in
151151
the :ref:`query explain plan output <explain-results-5.1-later>`.
152152

153-
Set Slot-Based Query Execution Plan Cache Size
154-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155-
156-
You can set the size of the :ref:`plan cache
157-
<read-operations-query-optimization>` for the new query engine with the
158-
:parameter:`planCacheSize` parameter.
159-
160-
.. include:: /includes/fact-sbe-plan-cache-motivation.rst
161-
162153
.. _5.1-rel-notes-change-streams:
163154

164155
Change Streams

source/release-notes/6.3.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ Starting in MongoDB 6.3, these server parameters were added:
166166
the establishment of slow server connections.
167167
- :parameter:`chunkMigrationConcurrency` sets the number of threads on
168168
the source shard and the receiving shard for migrating chunks.
169+
- :parameter:`planCacheSize` sets the size of the :ref:`plan cache
170+
<read-operations-query-optimization>` for the {+sbe+}.
169171

170172
Time Series Collection Custom Bucketing Parameters
171173
--------------------------------------------------

0 commit comments

Comments
 (0)