Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmG9P-0006dy-Vb for pgsql-hackers@arkaria.postgresql.org; Thu, 27 May 2021 13:34:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lmG9P-0001dv-04 for pgsql-hackers@arkaria.postgresql.org; Thu, 27 May 2021 13:34:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmG9O-0001dm-OF for pgsql-hackers@lists.postgresql.org; Thu, 27 May 2021 13:34:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmG9M-0002KB-Qb for pgsql-hackers@postgresql.org; Thu, 27 May 2021 13:34:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14RDY8wZ1709325; Thu, 27 May 2021 09:34:08 -0400 From: Tom Lane To: Robert Haas cc: Michael Paquier , Andres Freund , Dilip Kumar , pgsql-hackers Subject: Re: Move pg_attribute.attcompression to earlier in struct for reduced size? In-reply-to: References: <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> <1687119.1622088698@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 27 May 2021 07:58:33 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1709323.1622122448.1@sss.pgh.pa.us> Date: Thu, 27 May 2021 09:34:08 -0400 Message-ID: <1709324.1622122448@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Thu, May 27, 2021 at 12:11 AM Tom Lane 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