Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10802

Mention that running WiredTiger with nojournal will force a checkpoint for every journal sync

    XMLWordPrintable

Details

    Description

      Currently the Journaling and the WiredTiger Storage Engine page does not mention the effect on WiredTiger if MongoDB is started with the nojournal option.

      One of the effect is every journal sync will become a checkpoint instead to satisfy durability requirement.

      Since the journal was designed with quick sync in mind, the forced checkpoints could lead to slower performance when durability is required such as in a replica set.

      Reference (MongoDB 3.4.9): https://github.com/mongodb/mongo/blob/r3.4.9/src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp#L242-L249

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.adistambha@mongodb.com Kevin Adistambha
            Kevin Adistambha Kevin Adistambha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              5 years, 1 week, 6 days ago