diff --git a/source/reference/configuration-options.txt b/source/reference/configuration-options.txt index 66960433bba..862887279a6 100644 --- a/source/reference/configuration-options.txt +++ b/source/reference/configuration-options.txt @@ -3847,7 +3847,25 @@ LDAP Parameters *Available starting in MongoDB 4.2.1 (and 4.0.12)* +.. setting:: storage.wiredTiger.engineConfig.zstdCompressionLevel + *Type*: integer + + *Default*: 6 + + Specifies the level of compression applied when using + the :term:`zstd` compressor. + + Values can range from 1 to 22. + + The higher the specified value for ``zstdCompressionLevel`` + the higher the compression which is applied. + + Only applicable when + :setting:`~storage.wiredTiger.collectionConfig.blockCompressor` + is set to ``zstd``. + + *Available starting in MongoDB 5.0* .. setting:: storage.wiredTiger.collectionConfig.blockCompressor diff --git a/source/release-notes/5.0.txt b/source/release-notes/5.0.txt index 0c1fcf6db11..5cda1259a56 100644 --- a/source/release-notes/5.0.txt +++ b/source/release-notes/5.0.txt @@ -398,6 +398,17 @@ Starting in MongoDB 5.0, the new parameter the time in milliseconds to wait for any ongoing database operations to complete before initiating a shutdown of :binary:`~bin.mongos`. +Configurable ``zstd`` Compression Level +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +MongoDB 5.0 introduces the +:setting:`~storage.wiredTiger.engineConfig.zstdCompressionLevel` +configuration file option which allows for configurable compression +levels when +:setting:`~storage.wiredTiger.collectionConfig.blockCompressor` is set +to ``zstd``. + + Lock-Free Read Operations ~~~~~~~~~~~~~~~~~~~~~~~~~