File tree Expand file tree Collapse file tree 3 files changed +0
-59
lines changed Expand file tree Collapse file tree 3 files changed +0
-59
lines changed Original file line number Diff line number Diff line change @@ -4869,44 +4869,3 @@ Transaction Parameters
4869
4869
.. code-block:: javascript
4870
4870
4871
4871
db.adminCommand( { setParameter: 1, shouldMultiDocTxnCreateCollectionAndIndexes: false } )
4872
-
4873
- Slot-Based Execution Parameters
4874
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4875
-
4876
- .. parameter:: planCacheSize
4877
-
4878
- .. versionadded:: 5.1
4879
-
4880
- *Type*: string
4881
-
4882
- *Default*: 5%
4883
-
4884
- |mongod-only|
4885
-
4886
- Sets the size of the :ref:`plan cache
4887
- <read-operations-query-optimization>` for the slot based query
4888
- execution engine.
4889
-
4890
- You can set the :parameter:`planCacheSize` value to either:
4891
-
4892
- - A percentage of the system's total physical memory to allocate for
4893
- the plan cache. For example, ``"8.5%"``.
4894
-
4895
- - The exact amount of data to allocate for the plan cache in either
4896
- ``MB`` or ``GB``. For example, ``"100MB"`` or ``"1GB"``.
4897
-
4898
- .. include:: /includes/fact-sbe-plan-cache-motivation.rst
4899
-
4900
- The following startup command sets :parameter:`planCacheSize` to 80
4901
- megabytes:
4902
-
4903
- .. code-block:: bash
4904
-
4905
- mongod --setParameter planCacheSize="80MB"
4906
-
4907
- You can also use the :dbcommand:`setParameter` command within the
4908
- :mongosh:`MongoDB Shell </>`:
4909
-
4910
- .. code-block:: javascript
4911
-
4912
- db.adminCommand( { setParameter: 1, planCacheSize: "80MB" } )
Original file line number Diff line number Diff line change @@ -148,15 +148,6 @@ new fields are included in the query explain plan output.
148
148
- If the new query execution engine is used, new fields are included in
149
149
the :ref:`query explain plan output <explain-results-5.1-later>`.
150
150
151
- Set Slot-Based Query Execution Plan Cache Size
152
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153
-
154
- You can set the size of the :ref:`plan cache
155
- <read-operations-query-optimization>` for the new query engine with the
156
- :parameter:`planCacheSize` parameter.
157
-
158
- .. include:: /includes/fact-sbe-plan-cache-motivation.rst
159
-
160
151
.. _5.1-rel-notes-change-streams:
161
152
162
153
Change Streams
Original file line number Diff line number Diff line change @@ -553,15 +553,6 @@ conditions are met.
553
553
554
554
For more information, see :ref:`sbe-pipeline-optimizations`.
555
555
556
- Set |sbe-title| Plan Cache Size
557
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
558
-
559
- You can set the size of the :ref:`plan cache
560
- <read-operations-query-optimization>` for the new query engine with the
561
- :parameter:`planCacheSize` parameter.
562
-
563
- .. include:: /includes/fact-sbe-plan-cache-motivation.rst
564
-
565
556
Stable API
566
557
----------
567
558
You can’t perform that action at this time.
0 commit comments