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

LZ4 compression in MongoDB

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WiredTiger
    • Labels:

      Description

      WiredTiger added LZ4 support more than two years ago, but MongoDB does not enable it. Why not? LZ4 has better compression ratio and speed than snappy.

      I confirmed my experimental patch for lz4 works on YCSB benchmarks as well as other compression codecs. In the experiments, the compression ratio of storage size is reduced from 28% to 15% if I change journal and block compressors in WiredTiger from snappy to lz4. I used a YCSB in https://github.com/mongodb-labs/YCSB with compressibility=10.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.lane Brian Lane
              Reporter:
              t.yoshimura Takeshi Yoshimura
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: