What is the Default Compression on a MongoDB Managed Database?

Linode Staff

When I try to enable compression on my database and do a mongorestore, all the block_compressor values get removed. Is compression on a MongoDB Managed Database cluster is disabled by default?

1 Reply

When you're deploying a MongoDB cluster through the API or CLI, you can pass a compression_type call to enable compression on your cluster. The compression options are none, snappy, and zlip. The default is none. You can find this information in the API documentation.

Once the cluster is deployed the compression type can't be reconfigured.

These options are only available when deploying through the API or CLI though, since you can't select a compression type when provisioning your cluster in the Cloud Manager.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct