Skip to content

Commit 677788d

Browse files
authored
DOCSP-34711 Restore wiredTigerMaxCacheOverflowSizeGB (#5472)
1 parent 25249b1 commit 677788d

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

source/reference/parameters.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5307,6 +5307,57 @@ Storage Parameters
53075307
WiredTiger Parameters
53085308
~~~~~~~~~~~~~~~~~~~~~
53095309

5310+
.. parameter:: wiredTigerMaxCacheOverflowSizeGB
5311+
5312+
.. note:: Deprecated in MongoDB 4.4
5313+
5314+
5315+
MongoDB deprecates the ``wiredTigerMaxCacheOverflowSizeGB``
5316+
parameter. The parameter has no effect starting in MongoDB 4.4.
5317+
5318+
|mongod-only|
5319+
5320+
*Default*: 0 (No specified maximum)
5321+
5322+
Specify the maximum size (in GB) for the "lookaside (or cache
5323+
overflow) table" file :file:`WiredTigerLAS.wt` for MongoDB
5324+
4.2.1-4.2.x. The file no longer exists starting in
5325+
version 4.4.
5326+
5327+
The parameter can accept the following values:
5328+
5329+
.. list-table::
5330+
:header-rows: 1
5331+
:widths: 20 80
5332+
5333+
* - Value
5334+
- Description
5335+
5336+
* - ``0``
5337+
5338+
- The default value. If set to ``0``, the file size is
5339+
unbounded.
5340+
5341+
* - number >= 0.1
5342+
5343+
- The maximum size (in GB). If the :file:`WiredTigerLAS.wt`
5344+
file exceeds this size, :binary:`~bin.mongod` exits with a
5345+
fatal assertion. You can clear the :file:`WiredTigerLAS.wt`
5346+
file and restart :binary:`~bin.mongod`.
5347+
5348+
You can only set this parameter during run time using the
5349+
:dbcommand:`setParameter` database command:
5350+
5351+
.. code-block:: javascript
5352+
5353+
db.adminCommand( { setParameter: 1, wiredTigerMaxCacheOverflowSizeGB: 100 } )
5354+
5355+
To set the maximum size during start up, use the
5356+
:setting:`storage.wiredTiger.engineConfig.maxCacheOverflowFileSizeGB`
5357+
instead.
5358+
5359+
.. versionadded:: 4.2.1
5360+
53105361
.. parameter:: wiredTigerEngineRuntimeConfig
53115362

53125363
|mongod-only|

0 commit comments

Comments
 (0)