Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13345

Provide an option to disable journal compression

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: MMAPv1, Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      I get better throughput for some workloads after disabling journal compression. At least one other JIRA was already open for perf problems with this – SERVER-9802.

      My request is for a configuration option to disable it. If that is not feasible then the current code should be more clever about hiding latency from compression, like starting to compress earlier rather than in Journal::journal.

      From other testing I see that MongoDB writes much more to the journal than InnoDB writes to its redo log so making MongoDB less verbose will also help. See http://smalldatum.blogspot.com/2014/03/redo-logs-in-mongodb-and-innodb.html

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: