Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqOBQ-0001CO-5M for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Mar 2017 18:07:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqOBP-0005m1-ML for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Mar 2017 18:06:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqO9q-0000fB-EV for pgsql-hackers@postgresql.org; Tue, 21 Mar 2017 18:05:22 +0000 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cqO9m-0007iF-Om for pgsql-hackers@postgresql.org; Tue, 21 Mar 2017 18:05:21 +0000 Received: by mail-wr0-x235.google.com with SMTP id l37so117130473wrc.1 for ; Tue, 21 Mar 2017 11:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=6/nQRMgiIZw0S2WtcEDgtS6xz1tcqRcfaHkWys2nXLE=; b=f+5WObrS7uuex8jCIdnKbndbaSzHY+gU45mcoCx+1vJFvM4VLeGHFHihY4o6ebMabH 6GjOsAYsB6TzxpfKwH0YSrvxSXR6IDxDbCTgwhtKSTNyXZLNO+5pad+DXvE7mtkh/AMB qrAyd/rrO4eKpll25T5aU41QGMuFyGAX6jRnZxONe6kD48xq6D0YpUuRmR8UJxBxlNnB e3VCJCdhocG1tVNZtMG25dJ836IfDWDBhI9Ao2heRLaN5bPAfkahJP1f11wbzRE2+tXb H+4VMEwVA1o4C9ATwMtX0BotuFparCVDfgVn6c4tTgneof3sn0FnakNyqYvz9uWcv97C LhXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=6/nQRMgiIZw0S2WtcEDgtS6xz1tcqRcfaHkWys2nXLE=; b=VDdF7YBhRF7v4SXzzzEbMC8Gbx4pTZffMOp9QHqVSZ01n7+bmT1zXL0KG+TtQH0o7q yLBbqoncvsPRjZpxkSVTD+XPkxmUwViBsxRjEoGDpDpspkPqzu8EuduTRPj0AzmWjUR+ a/fJdPSAXtXmFVE0+566GPbxFAJWmnA1DCJ1awcNch7uvQwoIc+3DfyRt5qwnIP13AY2 YFaP7Eu8IEDnQ8lUOwCvxQOhyguG6m+kg7AuioGdV+6NgnwkS43wecL6mgGUSjmlWrws B3GTDRKYglD6cRvMpVoHT07TO1fn1KMmOuF154x19p8shp7dKNDLaTMDHJijERJU+oPZ fsrw== X-Gm-Message-State: AFeK/H2Z+WLXOUWMVFreiZifvZVIZ+wfFQ37O6UQkhPT5a7YQsysK4gjYh7EX0DolKT+g3JBq+qB83LDHFkpWw3lImjDNc4wRq3A2/6kNoYKIjkR7BHonu/SiVZNNN51s7e7Xc717NPToWrYjqzCGHEQi4i2PrHWEOh7pEjbarQdHYuGpdF5tw/Wk14hDM1U83B6q7R84ZR7 X-Received: by 10.223.155.193 with SMTP id e1mr32789181wrc.86.1490119517512; Tue, 21 Mar 2017 11:05:17 -0700 (PDT) Received: from [192.168.0.105] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id g43sm20519020wrg.35.2017.03.21.11.05.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 11:05:16 -0700 (PDT) Subject: Re: Patch: Write Amplification Reduction Method (WARM) To: Bruce Momjian , Robert Haas References: <20170308193038.rl4oe27hb4u4zhx4@alvherre.pgsql> <20170321164949.GA16918@momjian.us> <20170321171900.GC16918@momjian.us> Cc: Peter Geoghegan , Pavan Deolasee , Amit Kapila , Alvaro Herrera , Jaime Casanova , Haribabu Kommi , Tomas Vondra , pgsql-hackers From: Petr Jelinek Message-ID: <12c3d28b-7144-c17a-4557-bb0ae79aecd0@2ndquadrant.com> Date: Tue, 21 Mar 2017 19:05:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170321171900.GC16918@momjian.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 21/03/17 18:19, Bruce Momjian wrote: > On Tue, Mar 21, 2017 at 01:14:00PM -0400, Robert Haas wrote: >> On Tue, Mar 21, 2017 at 1:08 PM, Peter Geoghegan wrote: >>> On Tue, Mar 21, 2017 at 10:04 AM, Robert Haas wrote: >>>> I think that's a good question. I previously expressed similar >>>> concerns. On the one hand, it's hard to ignore the fact that, in the >>>> cases where this wins, it already buys us a lot of performance >>>> improvement. On the other hand, as you say (and as I said), it eats >>>> up a lot of bits, and that limits what we can do in the future. On >>>> the one hand, there is a saying that a bird in the hand is worth two >>>> in the bush. On the other hand, there is also a saying that one >>>> should not paint oneself into the corner. >>> >>> Are we really saying that there can be no incompatible change to the >>> on-disk representation for the rest of eternity? I can see why that's >>> something to avoid indefinitely, but I wouldn't like to rule it out. >> >> Well, I don't want to rule it out either, but if we do a release to >> which you can't pg_upgrade, it's going to be really painful for a lot >> of users. Many users can't realistically upgrade using pg_dump, ever. >> So they'll be stuck on the release before the one that breaks >> compatibility for a very long time. > > Right. If we weren't setting tuple and tid bits we could imrpove it > easily in PG 11, but if we use them for a single-change WARM chain for > PG 10, we might need bits that are not available to improve it later. > I thought there is still couple of bits available. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers