Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cteAs-0006Rh-09 for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Mar 2017 17:47:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cteAq-0005fc-ER for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Mar 2017 17:47:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cteAo-0005eJ-NF for pgsql-hackers@postgresql.org; Thu, 30 Mar 2017 17:47:50 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cteAl-0001np-Hu for pgsql-hackers@postgresql.org; Thu, 30 Mar 2017 17:47:49 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1cteAj-0001sS-VM; Thu, 30 Mar 2017 13:47:45 -0400 Date: Thu, 30 Mar 2017 13:47:45 -0400 From: Bruce Momjian To: Alvaro Herrera Cc: Pavan Deolasee , Robert Haas , Amit Kapila , Jaime Casanova , Haribabu Kommi , Tomas Vondra , pgsql-hackers Subject: Re: Patch: Write Amplification Reduction Method (WARM) Message-ID: <20170330174745.GA6593@momjian.us> References: <20170321194811.GG16918@momjian.us> <20170321195616.uhxtpwbbl6xlhuok@alvherre.pgsql> <20170321200458.GA2827@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170321200458.GA2827@momjian.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Mar 21, 2017 at 04:04:58PM -0400, Bruce Momjian wrote: > On Tue, Mar 21, 2017 at 04:56:16PM -0300, Alvaro Herrera wrote: > > Bruce Momjian wrote: > > > On Tue, Mar 21, 2017 at 04:43:58PM -0300, Alvaro Herrera wrote: > > > > Bruce Momjian wrote: > > > > > > > > > I don't think it makes sense to try and save bits and add complexity > > > > > when we have no idea if we will ever use them, > > > > > > > > If we find ourselves in dire need of additional bits, there is a known > > > > mechanism to get back 2 bits from old-style VACUUM FULL. I assume that > > > > the reason nobody has bothered to write the code for that is that > > > > there's no *that* much interest. > > > > > > We have no way of tracking if users still have pages that used the bits > > > via pg_upgrade before they were removed. > > > > Yes, that's exactly the code that needs to be written. > > Yes, but once it is written it will take years before those bits can be > used on most installations. Actually, the 2 bits from old-style VACUUM FULL bits could be reused if one of the WARM bits would be set when it is checked. The WARM bits will all be zero on pre-9.0. The check would have to be checking the old-style VACUUM FULL bit and checking that a WARM bit is set. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers