pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Force re-compression with lz4
Date: Tue, 19 Oct 2021 09:24:40 -0400
Message-ID: <3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@gmail.com> (raw)
In-Reply-To: <6b5a2ce7-6119-505e-5d7b-32e55f87f882@aklaver.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>
	<6b5a2ce7-6119-505e-5d7b-32e55f87f882@aklaver.com>


On 10/18/21 11:01, Adrian Klaver wrote:
> ot sure how much this applies to the Postgres usage of lz4. As I 
> understand it, this is only used internally for table compression. 
> When using pg_dump compression gzip is used. Unless you pipe plain 
> text output through some other program. 


This applies when using a 3rd party commercial backup tool with 
deduplication. You'd be surprised how many people do that. One tool to 
backup them all, one tool to find them and on the LTO cartridge backup 
them. I apologize for this cheesy paraphrase of Tolkien, but I couldn't 
resist. Long story short, for the 3rd party backup tools LZO4 
compression will yield better deduplication ratios than other forms of 
compression, thereby saving you space.

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






view thread (18+ messages)

Message-ID: <3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@gmail.com>
Permalink:  ../3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@gmail.com/
Also on:    postgresql.org/message-id/3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@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, adrian.klaver@aklaver.com
  Subject: Re: Force re-compression with lz4
  In-Reply-To: <3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@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> <6b5a2ce7-6119-505e-5d7b-32e55f87f882@aklaver.com> <3bef5bb7-a1c9-95f8-cfe4-98fa0d96e7c6@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