pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>
Cc: Dilip Kumar <dilipbalaut@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
Date: Thu, 27 May 2021 00:11:38 -0400
Message-ID: <1687119.1622088698@sss.pgh.pa.us> (raw)
In-Reply-To: <YK8aVuS0+8JOe8IM@paquier.xyz>
References: <YKtpZI4PBpVG3ryH@paquier.xyz>
	<CAFiTN-vpHrCzdeyKxpoPViyJCZZx-h8KghQJFyxZd7+Dys6Cow@mail.gmail.com>
	<YKyPM6UC+tBHEuxo@paquier.xyz>
	<20210527003144.xxqppojoiwurc2iz@alap3.anarazel.de>
	<1677691.1622075746@sss.pgh.pa.us>
	<20210527015415.ctuj4yrwnjip5kve@alap3.anarazel.de>
	<20210527021402.b5n2sqw66y2fd6fl@alap3.anarazel.de>
	<1683251.1622083422@sss.pgh.pa.us>
	<20210527032105.xistjgattubmjymm@alap3.anarazel.de>
	<1685584.1622086493@sss.pgh.pa.us>
	<YK8aVuS0+8JOe8IM@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Wed, May 26, 2021 at 11:34:53PM -0400, Tom Lane wrote:
>> So maybe we should just dump the promise that VACUUM FULL will recompress
>> everything?  I'd be in favor of that actually, because it seems 100%
>> outside the charter of either VACUUM FULL or CLUSTER.

> Hmm.  You are right that by default this may not be worth the extra
> cost.  We could make that easily an option, though, for users ready to
> accept this cost.  And that could be handy when it comes to a
> database-wise VACUUM.

AFAIR, there are zero promises about how effective, or when effective,
changes in SET STORAGE will be.  And the number of complaints about
that has also been zero.  So I'm not sure why we need to do more for
SET COMPRESSION.  Especially since I'm unconvinced that recompressing
everything just to recompress everything would *ever* be worthwhile.

			regards, tom lane





view thread (73+ messages)  latest in thread

Message-ID: <1687119.1622088698@sss.pgh.pa.us>
Permalink:  ../1687119.1622088698@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1687119.1622088698@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, andres@anarazel.de, dilipbalaut@gmail.com, robertmhaas@gmail.com
  Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
  In-Reply-To: <1687119.1622088698@sss.pgh.pa.us>
  References: <YKtpZI4PBpVG3ryH@paquier.xyz> <CAFiTN-vpHrCzdeyKxpoPViyJCZZx-h8KghQJFyxZd7+Dys6Cow@mail.gmail.com> <YKyPM6UC+tBHEuxo@paquier.xyz> <20210527003144.xxqppojoiwurc2iz@alap3.anarazel.de> <1677691.1622075746@sss.pgh.pa.us> <20210527015415.ctuj4yrwnjip5kve@alap3.anarazel.de> <20210527021402.b5n2sqw66y2fd6fl@alap3.anarazel.de> <1683251.1622083422@sss.pgh.pa.us> <20210527032105.xistjgattubmjymm@alap3.anarazel.de> <1685584.1622086493@sss.pgh.pa.us> <YK8aVuS0+8JOe8IM@paquier.xyz> <1687119.1622088698@sss.pgh.pa.us>

* 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