pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>
Cc: Dilip Kumar <dilipbalaut@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
Date: Thu, 27 May 2021 09:34:08 -0400
Message-ID: <1709324.1622122448@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoZ1jiHNcpjjUkxAhjxWFo83oMHjpeaCvyAh0K6bPbvzFg@mail.gmail.com>
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>
	<CA+TgmoZ1jiHNcpjjUkxAhjxWFo83oMHjpeaCvyAh0K6bPbvzFg@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, May 27, 2021 at 12:11 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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.

> I think it is good to have *some* way of ensuring that what you want
> the system to do, it is actually doing. If we have not a single
> operation in the system anywhere that can force recompression, someone
> who actually cares will be left with no option but a dump and reload.
> That is probably both a whole lot slower than something in the server
> itself and also a pretty silly thing to have to tell people to do.

[ shrug... ]  I think the history of the SET STORAGE option teaches us
that there is no such requirement, and you're inventing a scenario that
doesn't exist in the real world.

			regards, tom lane





view thread (73+ messages)  latest in thread

Message-ID: <1709324.1622122448@sss.pgh.pa.us>
Permalink:  ../1709324.1622122448@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1709324.1622122448@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, robertmhaas@gmail.com, michael@paquier.xyz, andres@anarazel.de, dilipbalaut@gmail.com
  Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
  In-Reply-To: <1709324.1622122448@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> <CA+TgmoZ1jiHNcpjjUkxAhjxWFo83oMHjpeaCvyAh0K6bPbvzFg@mail.gmail.com> <1709324.1622122448@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