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

Evaluate better compression algorithms for external sorter temporary files

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Execution Team 2024-12-09

      The Snappy compressor we use for the external sorter has limitations when compressing certain index key data. Notably, it favors speed over compression. We may benefit from using a different compression algorithm to achieve higher compression ratios in exchange for potentially worse performance.

      Because index builds transiently store all data on disk, they can consume much more space than the prefix-compressed data that is stored in the storage engine.

      Compression is still heavily data-dependent, but having the option to use a different compression would help customers with indexes of very large data sets. This would help with initial sync, in particular, where we build all indexes at once.

            Assignee:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: