pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Magnus Hagander <magnus@hagander.net>
To: Florents Tselai <florents.tselai@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Force re-compression with lz4
Date: Sun, 17 Oct 2021 10:28:24 -0700
Message-ID: <dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.com> (raw)
In-Reply-To: <CABUevEz2XBb-1WKDp4zVjmvj0ro8G0To_C18a_keCdfFf8LsPQ@mail.gmail.com>
References: <EDA6D3AC-7B66-46CB-821E-7F2E8FBBFAC0@gmail.com>
	<CABUevEz2XBb-1WKDp4zVjmvj0ro8G0To_C18a_keCdfFf8LsPQ@mail.gmail.com>

On 10/17/21 10:17, Magnus Hagander wrote:
> On Sun, Oct 17, 2021 at 5:12 PM Florents Tselai 
> <florents.tselai@gmail.com <mailto:florents.tselai@gmail.com>> wrote:

> 
>     Is there a smarter way to do this ?
> 
> 
> It should be enough to VACUUM FULL the table. (but it has to be VACUUM 
> FULL, not a regular vacuum). Or CLUSTER.

With the proviso that this will require double the existing space, 
~670GB, until the operation is completed.

> 
> -- 
>   Magnus Hagander
>   Me: https://www.hagander.net/ <http://www.hagander.net/;
>   Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (18+ messages)  latest in thread

Message-ID: <dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.com>
Permalink:  ../dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.com/
Also on:    postgresql.org/message-id/dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.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: adrian.klaver@aklaver.com, magnus@hagander.net, florents.tselai@gmail.com
  Subject: Re: Force re-compression with lz4
  In-Reply-To: <dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.com>
  References: <EDA6D3AC-7B66-46CB-821E-7F2E8FBBFAC0@gmail.com> <CABUevEz2XBb-1WKDp4zVjmvj0ro8G0To_C18a_keCdfFf8LsPQ@mail.gmail.com> <dcb6fb5e-844a-0e44-2b1b-879e8a49ac97@aklaver.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