Skip to content

Add new sizing tool to support Amazon DocumentDB cost estimator#180

Merged
tmcallaghan merged 3 commits intoawslabs:masterfrom
Bit-Quill:sizing-tool-with-compression
Feb 12, 2026
Merged

Add new sizing tool to support Amazon DocumentDB cost estimator#180
tmcallaghan merged 3 commits intoawslabs:masterfrom
Bit-Quill:sizing-tool-with-compression

Conversation

@caphillips13
Copy link

Issue #, if available: N/A

Description of changes:

  • Introduces a new tool that analyzes MongoDB databases and generates CSV files for the DocumentDB Cost Estimator. The tool leverages the existing compression-review.py to measure compression ratios using zstd-5-dict, then combines this data with MongoDB collection statistics (document counts, sizes, indexes) to produce CSV output ready for upload to the cost estimator.
  • Updated duplicate compRatio columns in compression-review.py CSV output, renamed to existingCompRatio and projectedCompRatio respectively.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Craig Phillips added 2 commits February 10, 2026 14:13
Introduces a new tool that analyzes MongoDB databases and generates CSV files for the DocumentDB Sizing Calculator. The tool leverages the existing compression-review.py to measure compression ratios using zstd-5-dict, then combines this data with MongoDB collection statistics (document counts, sizes, indexes) to produce CSV output ready for upload to the sizing calculator.
Copy link
Contributor

@tmcallaghan tmcallaghan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes.

* Corrected zstd-5-dict to zstd-3-dict for DocumentDB 8.0
* Removed dictionary-size arg and added constant for fixed size
* Moved tests and test documentation to test directory
* Removed license and usage from scripts
@tmcallaghan tmcallaghan merged commit 307ae24 into awslabs:master Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants