Skip to content

Commit 977d836

Browse files
authored
DOCS-15997 planCacheSize Parameter SBE (#3254)
* DOCS-15997 planCacheSize Parameter SBE * JA feedback * DS feedback * DS feedback + move to 6.3 release notes
1 parent dc736f4 commit 977d836

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
@@ -5128,17 +5128,21 @@ Slot-Based Execution Parameters
51285128

51295129
.. parameter:: planCacheSize
51305130

5131-
.. versionadded:: 5.1
5131+
.. versionadded:: 6.3
51325132

51335133
*Type*: string
51345134

51355135
*Default*: 5%
51365136

51375137
|mongod-only|
51385138

5139-
Sets the size of the :ref:`plan cache
5140-
<read-operations-query-optimization>` for the slot based query
5141-
execution engine.
5139+
.. note::
5140+
5141+
Although the ``planCacheSize`` parameter existed in prior versions of
5142+
MongoDB, it had no effect on the plan cache until version 6.3.
5143+
5144+
Sets the size of the :ref:`plan cache <read-operations-query-optimization>`
5145+
only for the :ref:`slot-based query execution engine <5.1-rel-notes-sbe>`.
51425146

51435147
You can set the :parameter:`planCacheSize` value to either:
51445148

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
@@ -167,6 +167,8 @@ Starting in MongoDB 6.3, these server parameters were added:
167167
the establishment of slow server connections.
168168
- :parameter:`chunkMigrationConcurrency` sets the number of threads on
169169
the source shard and the receiving shard for migrating chunks.
170+
- :parameter:`planCacheSize` sets the size of the :ref:`plan cache
171+
<read-operations-query-optimization>` for the {+sbe+}.
170172

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

0 commit comments

Comments
 (0)