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
5028
5028
5029
5029
.. parameter:: planCacheSize
5030
5030
5031
- .. versionadded:: 5.1
5031
+ .. versionadded:: 6.3
5032
5032
5033
5033
*Type*: string
5034
5034
5035
5035
*Default*: 5%
5036
5036
5037
5037
|mongod-only|
5038
5038
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>`.
5042
5046
5043
5047
You can set the :parameter:`planCacheSize` value to either:
5044
5048
Original file line number Diff line number Diff line change @@ -150,15 +150,6 @@ new fields are included in the query explain plan output.
150
150
- If the new query execution engine is used, new fields are included in
151
151
the :ref:`query explain plan output <explain-results-5.1-later>`.
152
152
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
-
162
153
.. _5.1-rel-notes-change-streams:
163
154
164
155
Change 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:
166
166
the establishment of slow server connections.
167
167
- :parameter:`chunkMigrationConcurrency` sets the number of threads on
168
168
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+}.
169
171
170
172
Time Series Collection Custom Bucketing Parameters
171
173
--------------------------------------------------
You can’t perform that action at this time.
0 commit comments