Optimize storage costs in Amazon OpenSearch Service using Zstandard compression
Big Data Blog
This article discusses the performance benefits of using the Zstandard compression algorithm, which was introduced in OpenSearch v2.9, to optimize storage costs in Amazon OpenSearch Service.
Specifically, the article covers:
- The importance of compression in OpenSearch, including storage efficiency, reduced I/O operations, and environmental impact
- Core concepts related to compression algorithms, including compression ratio, compression speed, and decompression speed
- Details about the Zstandard codec and its two modes: zstd and zstd_no_dict
- How to create an index with the Zstd codec and update codec settings for an existing index
- A benchmark comparing the performance of Zstandard against LZ4 and Zlib codecs, showing that Zstandard provides a better compression ratio than Zlib with a slight gain in write throughput and similar read latency as LZ4
- Limitations of the Zstandard codec, such as potential increased latency for certain queries and incompatibility with k-NN and Security Analytics indexes
- Conclusion that Zstandard provides a good balance between storage size and compression speed, and can be tuned based on use case requirements
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
Sep 9
2025
2025
Decrease your storage costs with Amazon OpenSearch Service index rollups
Apr 9
2026
2026
Amazon OpenSearch Serverless now supports Zstandard (zstd) codec for index compression
Sep 16
2025
2025
Amazon OpenSearch Service announces Derived Source for storage optimization
Jan 9
2025
2025
Cost Optimized Vector Database: Introduction to Amazon OpenSearch Service quantization techniques
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.