File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
164155Change Streams
Original file line number Diff line number Diff 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
171173Time Series Collection Custom Bucketing Parameters
172174--------------------------------------------------
You can’t perform that action at this time.
0 commit comments