Posted On: Jul 25, 2023

Amazon DocumentDB (with MongoDB compatibility) now supports document compression using the LZ4 compression algorithm. Compressed documents in Amazon DocumentDB are up to 7x smaller than uncompressed documents. Compressed documents require less storage space and IO operations during database reads and writes, leading to lower storage and IO costs.

You can now configure document compression for individual DocumentDB collections in a database based on collection access patterns and storage requirements. Using existing APIs, you can monitor compression status and collection size after compression.

Document compression is available in Amazon DocumentDB 5.0 instance-based clusters in all Amazon Web Services regions where DocumentDB is available, including the Amazon Web Services China (Beijing) Region, operated by Sinnet and the Amazon Web Services China (Ningxia) Region, operated by NWCD. Please visit the product documentation page to learn more about Amazon DocumentDB.