pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: Florents Tselai <florents.tselai@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Force re-compression with lz4
Date: Mon, 18 Oct 2021 14:07:40 +0900
Message-ID: <YW0BHBZzQqZBW/vm@paquier.xyz> (raw)
In-Reply-To: <ca86c828-15a9-4818-a559-27b29263c38e@manitou-mail.org>
References: <EDA6D3AC-7B66-46CB-821E-7F2E8FBBFAC0@gmail.com>
	<ca86c828-15a9-4818-a559-27b29263c38e@manitou-mail.org>

On Sun, Oct 17, 2021 at 10:33:52PM +0200, Daniel Verite wrote:
> However lz4 appears to be much faster to compress than pglz, so its
> benefit is clear in terms of CPU usage for future insertions.

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (18+ messages)  latest in thread

Message-ID: <YW0BHBZzQqZBW/vm@paquier.xyz>
Permalink:  ../YW0BHBZzQqZBW%2Fvm@paquier.xyz/
Also on:    postgresql.org/message-id/YW0BHBZzQqZBW/vm@paquier.xyz

 · 

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: michael@paquier.xyz, daniel@manitou-mail.org, florents.tselai@gmail.com
  Subject: Re: Force re-compression with lz4
  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>

* 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