Skip to main content

Zstd

Zstd (Zstandard) is a modern compression algorithm developed by Facebook that Nine uses for compressing database dumps and log files.

Advantages

Compared to gzip's deflate algorithm, zstd offers:

  • Better compression ratios in most cases
  • Significantly faster compression speeds
  • Lower CPU usage (20-30% vs gzip's 100%)

Usage

On Your Managed Server

zstd, zstdcat, zstdgrep and zstdless are the most commonly used command line tools for managing zstd archives.

The most notable options for zstd are -d to decompress an archive and --rm to delete a compressed source file after it has been decompressed.

To learn more about the options, the --help command line parameter will show all options for the tools.

On Your Local Desktop

We recommend 7zip if you want to decompress zstd archives on your local desktop. 7zip is available for all platforms.