File tree Expand file tree Collapse file tree 6 files changed +19
-22
lines changed Expand file tree Collapse file tree 6 files changed +19
-22
lines changed Original file line number Diff line number Diff line change
1
+ To provide :term: `durable ` data, :ref: `WiredTiger <storage-wiredtiger >`
2
+ uses :ref: `checkpoints <storage-wiredtiger-checkpoints >`. For more
3
+ details, see :ref: `journaling-wiredTiger `.
Original file line number Diff line number Diff line change @@ -32,9 +32,11 @@ Definition
32
32
.. include:: /includes/fsync-mongos
33
33
34
34
As applications write data, MongoDB records the data in the storage layer
35
- and then writes the data to disk within the
36
- :setting:`~storage.syncPeriodSecs` interval, which is 60 seconds by default.
37
- Run ``fsync`` when you want to flush writes to disk ahead of that interval.
35
+ and then writes the data to disk.
36
+
37
+ Run ``fsync`` when you want to flush writes to disk.
38
+
39
+ .. include:: /includes/checkpoints.rst
38
40
39
41
.. include:: /includes/fsync-lock-command
40
42
Original file line number Diff line number Diff line change @@ -3552,17 +3552,12 @@ LDAP Parameters
3552
3552
*Default*: 60
3553
3553
3554
3554
The amount of time that can pass before MongoDB flushes data to the data
3555
- files via an :term:`fsync` operation .
3555
+ files.
3556
3556
3557
3557
**Do not set this value on
3558
3558
production systems.** In almost every situation, you should use the
3559
3559
default setting.
3560
3560
3561
- .. warning::
3562
-
3563
- If you set :setting:`storage.syncPeriodSecs` to ``0``, MongoDB will not sync the
3564
- memory mapped files to disk.
3565
-
3566
3561
The :binary:`~bin.mongod` process writes data very quickly to the journal and
3567
3562
lazily to the data files. :setting:`storage.syncPeriodSecs` has no effect on the
3568
3563
:setting:`journal <storage.journal.enabled>` files or :doc:`journaling </core/journaling>`,
@@ -3575,6 +3570,7 @@ LDAP Parameters
3575
3570
3576
3571
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
3577
3572
3573
+ .. include:: /includes/checkpoints.rst
3578
3574
3579
3575
.. setting:: storage.engine
3580
3576
Original file line number Diff line number Diff line change @@ -396,10 +396,9 @@ Glossary
396
396
fsync
397
397
A system call that flushes all dirty, in-memory pages to storage.
398
398
As applications write data, MongoDB records the data in the
399
- storage layer and then writes the data to disk within the
400
- ``syncPeriodSecs`` interval, which is 60 seconds by default. Run
401
- ``fsync`` if you want to flush writes to disk ahead of that
402
- interval. For details, see :dbcommand:`fsync`.
399
+ storage layer.
400
+
401
+ .. include:: /includes/checkpoints.rst
403
402
404
403
geohash
405
404
A geohash value is a binary representation of the location on a
Original file line number Diff line number Diff line change @@ -3806,8 +3806,8 @@ Storage Parameters
3806
3806
3807
3807
|mongod-only|
3808
3808
3809
- Specify the interval in seconds between :term:`fsync` operations
3810
- where :binary:`~bin.mongod` flushes its working memory to disk. By
3809
+ Specify the interval in seconds when
3810
+ :binary:`~bin.mongod` flushes its working memory to disk. By
3811
3811
default, :binary:`~bin.mongod` flushes memory to disk every 60
3812
3812
seconds. In almost every situation you should not set this value
3813
3813
and use the default setting.
@@ -3819,6 +3819,8 @@ Storage Parameters
3819
3819
3820
3820
db.adminCommand( { setParameter: 1, syncdelay: 60 } )
3821
3821
3822
+ .. include:: /includes/checkpoints.rst
3823
+
3822
3824
.. seealso::
3823
3825
3824
3826
- :parameter:`journalCommitInterval`
Original file line number Diff line number Diff line change @@ -1361,25 +1361,20 @@ Storage Options
1361
1361
*Default*: 60
1362
1362
1363
1363
Controls how much time can pass before MongoDB flushes data to the data
1364
- files via an :term:`fsync` operation .
1364
+ files.
1365
1365
1366
1366
**Do not set this value on
1367
1367
production systems.** In almost every situation, you should use the
1368
1368
default setting.
1369
1369
1370
- .. warning::
1371
-
1372
- If you set :option:`--syncdelay` to ``0``, MongoDB doesn't sync the
1373
- memory mapped files to disk.
1374
-
1375
1370
The ``mongod`` process writes data very quickly to the journal and
1376
1371
lazily to the data files. :option:`--syncdelay` has no effect on
1377
1372
:ref:`journaling <journaling-internals>`, but if :option:`--syncdelay` is set to
1378
1373
``0`` the journal eventually consumes all available disk space.
1379
1374
1380
1375
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
1381
1376
1382
-
1377
+ .. include:: /includes/checkpoints.rst
1383
1378
1384
1379
.. option:: --upgrade
1385
1380
You can’t perform that action at this time.
0 commit comments