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

Calculation for WiredTiger cache is misleading

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • 3.6 Core Server, 3.4.7
    • dochub, manual
    • None

    Description

      https://docs.mongodb.com/manual/faq/storage/

      50% of RAM minus 1 GB, or

      I read this as (.5 * RAM) - 1GB.

      The calculation is actually:
      (RAM - 1GB) * .5

      https://github.com/mongodb/mongo/blob/r3.6.2/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp#L342

      Attachments

        Activity

          People

            brian.moss@mongodb.com Brian Moss
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 48 weeks ago