Posted On: Jul 24, 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 DocumentDB 5.0 instance-based clusters in all regions where Amazon DocumentDB is available. To create your first compressed DocumentDB collection, please see Getting Started with Document Compression. Please visit the product documentation page to learn more about Amazon DocumentDB.