-
Type: New Feature
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
WiredTiger has support for the ZStandard compression library, some applications would like the opportunity to customize the compression level used when ZStandard is enabled.
This ticket will expose the ability to customize the compression level ZStandard uses. Note that this will be a global change: All new data written via any output stream that uses ZStandard will switch to the newly customized compression level.
It would be a different (and significantly bigger) task to allow different tables (collections and indexes) and the WAL (journal) to select different compression levels within a single database.
Note: that it should be possible to update the compression level on an existing table; changing the compression level will mean that new content will use the new compression level. Old content that was compressed with a different level can still be read. We should add testing of this compatibility.