-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
The default compression algorithm used for time-series collections is zstd. Time-series collections ignore the global default (snappy) but can be overridden when creating the collection itself.
See test for example/behaviour: https://github.com/mongodb/mongo/blob/5476797a46b28156134fa7f13c15cd34f9e6ceb9/jstests/noPassthrough/timeseries_block_compressor_options.js
Description of Linked Ticket
Create time-series buckets collections using the zstd block compressor.
Use the following collection options config:
storageEngine: { wiredTiger: "block_compressor=zstd" }
Any user-supplied storageEngine config when creating the collection should take precedence.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- backported by
-
DOCS-14555 [BACKPORT] [v5.0] Enable zstd compression for time-series collections by default
- Closed
- documents
-
SERVER-57426 Enable zstd compression for time-series collections by default
- Closed