Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Mar 11, 2020

Change/Option to change Default Storage Compression to zlib

This is a feature request to change or provide an option to change Default Storage Compression to zlib
  • Attach files
  • Guest
    Jun 23, 2022
    The option to select the engine would be good; I'd like to be able to compare the performance characteristics based on our workload; clickhouse tends to use zstd; others use zlib/gzip. The option to choose would be great.
  • Guest
    Feb 11, 2022
    Hi, We also need the ability to change the storage compression algorithm at the cluster level. The default algorithm set by atlas is snappy, which have bad performance in both compression rates and cpu usage compared to Zstd. Currently, in the cluster we are running on-prem, we have the ability to configure the compression algorithm in the "/etc/mongod.conf" during cluster creation in our infrastructure code (we are provisioning all our resources using IaaC, with tools like terraform, ansible, python/bash scripts), so any new collection created by application will be automatically use the compression configured at cluster level. To be more precise, the application code do not creates the collection explicitly, it just starting write to a collection. Also, the application code, which are using a collection, are distributed across number of microservices, each running a number of instances/workloads, therefore we cannot use db.createCollection option, as there is no such place, that we can ensure it will be performed once, except in infrastructure code during cluster creation, which in turn do not aware about number of connections and the collection names that will be used by application microservices.
  • Guest
    Mar 12, 2020
    Why is this important to you? What's driving this request?