pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Force re-compression with lz4
Date: Mon, 18 Oct 2021 09:41:33 -0400
Message-ID: <d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com> (raw)
In-Reply-To: <YW0BHBZzQqZBW/vm@paquier.xyz>
References: <EDA6D3AC-7B66-46CB-821E-7F2E8FBBFAC0@gmail.com>
	<ca86c828-15a9-4818-a559-27b29263c38e@manitou-mail.org>
	<YW0BHBZzQqZBW/vm@paquier.xyz>


On 10/18/21 01:07, Michael Paquier wrote:
> CPU-speaking, LZ4 is*much*  faster than pglz when it comes to
> compression or decompression with its default options.  The
> compression ratio is comparable between both, still LZ4 compresses in
> average less than PGLZ.
> --
> Michael

LZ4 works much better with deduplication tools like Data Domain or Data 
Domain Boost (client side deduplication). With zip or gzip compression, 
deduplication ratios are much lower than with LZ4. Most of the modern 
backup tools (DD, Veeam, Rubrik, Commvault) support deduplication. LZ4 
algorithm uses less CPU than zip, gzip or bzip2 and works much better 
with deduplication algorithms employed by the backup tools. This is 
actually a very big and positive change.

Disclosure:

I used to work for Commvault as a senior PS engineer. Commvault was the 
first tool on the market to combine LZ4 and deduplication.

Regards


-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com






view thread (18+ messages)  latest in thread

Message-ID: <d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com>
Permalink:  ../d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com/
Also on:    postgresql.org/message-id/d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gogala.mladen@gmail.com
  Subject: Re: Force re-compression with lz4
  In-Reply-To: <d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com>
  References: <EDA6D3AC-7B66-46CB-821E-7F2E8FBBFAC0@gmail.com> <ca86c828-15a9-4818-a559-27b29263c38e@manitou-mail.org> <YW0BHBZzQqZBW/vm@paquier.xyz> <d4ff3c0b-ac43-6b00-622a-501870fc2810@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox