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 1lm7N3-0002XY-Fv for pgsql-hackers@arkaria.postgresql.org; Thu, 27 May 2021 04:11:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lm7N2-0001ap-EC for pgsql-hackers@arkaria.postgresql.org; Thu, 27 May 2021 04:11:44 +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 1lm7N2-0001ah-6y for pgsql-hackers@lists.postgresql.org; Thu, 27 May 2021 04:11:44 +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 1lm7N0-0006Kd-9W for pgsql-hackers@postgresql.org; Thu, 27 May 2021 04:11:43 +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 14R4BcZD1687120; Thu, 27 May 2021 00:11:38 -0400 From: Tom Lane To: Michael Paquier cc: Andres Freund , Dilip Kumar , pgsql-hackers , Robert Haas 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> Comments: In-reply-to Michael Paquier message dated "Thu, 27 May 2021 13:04:38 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1687118.1622088698.1@sss.pgh.pa.us> Date: Thu, 27 May 2021 00:11:38 -0400 Message-ID: <1687119.1622088698@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier 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