Skip to content

Commit

Permalink
Temporary disable Zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
x4m committed Nov 13, 2018
1 parent 3f55871 commit a27a2a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

WAL-G is an archival restoration tool for Postgres.

WAL-G is the successor of WAL-E with a number of key differences. WAL-G uses LZ4, LZMA, Zstd or Brotli compression, multiple processors and non-exclusive base backups for Postgres. More information on the design and implementation of WAL-G can be found on the Citus Data blog post ["Introducing WAL-G by Citus: Faster Disaster Recovery for Postgres"](https://www.citusdata.com/blog/2017/08/18/introducing-wal-g-faster-restores-for-postgres/).
WAL-G is the successor of WAL-E with a number of key differences. WAL-G uses LZ4, LZMA or Brotli compression, multiple processors and non-exclusive base backups for Postgres. More information on the design and implementation of WAL-G can be found on the Citus Data blog post ["Introducing WAL-G by Citus: Faster Disaster Recovery for Postgres"](https://www.citusdata.com/blog/2017/08/18/introducing-wal-g-faster-restores-for-postgres/).

**Table of Contents**
- [Installation](#installation)
Expand Down Expand Up @@ -117,8 +117,8 @@ To configure GPG key for encryption and decryption. By default, no encryption is

* `WALG_COMPRESSION_METHOD`

To configure compression method used for backups. Possible options are: `lz4`, 'lzma', `zstd`, 'brotli'. Default method is `lz4`. LZ4 is the fastest method, but compression ratio is bad.
LZMA is way much slower, however it compresses backups about 6 times better than LZ4. Zstd or Brotli is a good trade-off between speed and compression ratio which is about 3 times better than LZ4.
To configure compression method used for backups. Possible options are: `lz4`, 'lzma', 'brotli'. Default method is `lz4`. LZ4 is the fastest method, but compression ratio is bad.
LZMA is way much slower, however it compresses backups about 6 times better than LZ4. Brotli is a good trade-off between speed and compression ratio which is about 3 times better than LZ4.

* `WALG_DISK_RATE_LIMIT`

Expand Down
3 changes: 1 addition & 2 deletions compression.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
LzoFileExtension = "lzo"
)

var CompressingAlgorithms = []string{Lz4AlgorithmName, LzmaAlgorithmName, ZstdAlgorithmName, BrotliAlgorithmName}
var CompressingAlgorithms = []string{Lz4AlgorithmName, LzmaAlgorithmName, BrotliAlgorithmName}

type UnknownCompressionMethodError struct{}

Expand All @@ -40,7 +40,6 @@ var Compressors = map[string]Compressor{
Lz4AlgorithmName: Lz4Compressor{},
LzmaAlgorithmName: LzmaCompressor{},
BrotliAlgorithmName: BrotliCompressor{},
ZstdAlgorithmName: ZstdCompressor{},
}

var Decompressors = []Decompressor{
Expand Down

0 comments on commit a27a2a9

Please sign in to comment.