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 @@ -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
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 @@ -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
170172Time Series Collection Custom Bucketing Parameters
171173--------------------------------------------------
You can’t perform that action at this time.
0 commit comments