WiredTiger Block and Prefix Compression as Storage Cost Lever

Parent: Storage and Data-Lifecycle Cost Levers · Published reference · snapshot 2026-10-19 · skill mongodb-operations-expert/references/storage-and-data-lifecycle-cost-levers.md · viability 3.80 / 5 (research)

↓ Facts as markdownall context files

WiredTiger compresses MongoDB collection data with block compression (snappy by default, zlib and zstd optional, zstd by default for time series collections) and compresses index keys with prefix compression (on by default), which cuts on-disk bytes and so the provisioned storage bill at the price of extra CPU; collection data stays uncompressed in the WiredTiger cache. Drawn from 6 sources (MongoDB manual and FAQ, WiredTiger documentation, a Percona benchmark, two third-party blogs), covering definitions, mechanisms, parameters, how-to, measures, problems and comparisons; the sources disagree on whether compact recompresses existing data and on typical compression ratios.

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Definitions

How it works

Parameters and configuration

How-to and procedures

Examples and snippets

Measurements and reference values

Problems, failure modes and limitations

Comparisons and alternatives

Facts and statements

Disagreements

Related concepts

Children

Frontier under this node: Journal compression (2.35), Network (wire) compression (2.90)

← the whole tree · 3D view· how to read this page