Provide an option to force journal preallocation and recycling

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: MMAPv1, Storage
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Journal file preallocation and recycling (see preallocj in the code) is enabled based on the outcome of a short performance test run at process start. When mongod is deployed at scale this is likely to result in some servers using preallocj=true and others using preallocj=false. That non-determinism is not good for a DBA.

      I get 10% better throughput from insert benchmark workloads using fast (PCIe flash) storage after forcing preallocj to be true. See http://smalldatum.blogspot.com/2014/03/redo-logs-in-mongodb-and-innodb.html

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Mark Callaghan
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: