Description
In some workloads, particularly those which get good compression rates of the underlying data (eg via dictionary coding), the WAL becomes a big bottleneck for write performance. In addition, the large size of WALs can often mean that old WALs get GCed rapidly and cause lagging replicas to get evicted after only a temporary bout of slowness. Making WALs smaller would mean that we can retain more history without the cost of disk space.