We’re overhauling Dgraph’s docs to make them clearer and more approachable. If
you notice any issues during this transition or have suggestions, please
let us know.
--badger superflag’s compression option. You can choose between the
Snappy and
Zstandard compression algorithms, or choose
not to compress data on disk.
This option replaces the
--badger.compression_level and
--badger.compression options used in earlier Dgraph versions.| Setting | Notes |
|---|---|
none | Data on disk will not be compressed. |
zstd:level | Use Zstandard compression, with a compression level specified (1-3). |
snappy | Use Snappy compression (this is the default value). |