Home icon

Unlock cost savings using compression with Amazon DocumentDB

Database Blog



This article discusses how to use document compression in Amazon DocumentDB to reduce storage usage and I/O costs, leading to cost savings. It provides an overview of document compression using the LZ4 algorithm, how to enable compression for individual collections, and considerations for using compression.

Specifically, the article covers:

  • Solution overview explaining how compression works and its benefits
  • Sample datasets (FeTaQA and Twitter news) with results showing up to 34% storage reduction using compression
  • Steps to enable compression for new and existing collections
  • Considerations like compression overhead, compression threshold settings, and compatibility with Amazon DocumentDB version 5.0
  • Conclusion highlighting how compression can lead to significant cost savings for large datasets


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 22
2024
Amazon DocumentDB announces improvements to document compression
Apr 15
2024
Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0
Jul 10
2025
Transform uncompressed Amazon DocumentDB data into compressed collections using AWS DMS
Apr 2
2026
Turbocharge your applications with Amazon DocumentDB 8.0

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.