Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgxlS-0000Vj-8p for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Feb 2017 18:05:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cgxlR-0003ha-Px for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Feb 2017 18:05:13 +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 1cgxk1-00024A-Lf for pgsql-hackers@postgresql.org; Thu, 23 Feb 2017 18:03:45 +0000 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cgxjz-0004Ie-0f for pgsql-hackers@postgresql.org; Thu, 23 Feb 2017 18:03:44 +0000 Received: by mail-qt0-x22f.google.com with SMTP id x35so35077492qtc.2 for ; Thu, 23 Feb 2017 10:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=9b8VgNdyQqfASeOUiTHNrhCvlDH6n+fNl62plYFGm40=; b=zz2EKtlzMFMjAPbv+vGJW6/dx+zoCHA3uUc7pYLA2JlmkO/1jsmu+9YSYNQt6Dimb4 zEtUR6Fv+0poqJ1mMZ4poRNoBds7zBcWSnpmidIIJBJUa074FGJaiupftCp+pmQP0RBs hGaegAVPPpXERVfTQqL7tVZKswFoewUY9Ue3ALHuUJw3GgTyt/2ah586wOC0dwVYBdPy liQb1pYb4YJJEsFurl1LYpBn0Stymm2hKFA14BRkJlvBUfK29OZP85LZCxqyqst7DwzX dNtdhXn3LEIQ9HCyQ8hGBVRN2CnAUtx0cYMSBYCp0uleb/9LUxrzgn4jNtOtgORTJa0G LhrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9b8VgNdyQqfASeOUiTHNrhCvlDH6n+fNl62plYFGm40=; b=IPCgEBn404ff/gBLFS0MOh/5BmudlMHMZtCG7YfCdxDxldT/6kAx5f6Z5JLP1v6aCp wJgqKq40Pdpjdyb4SYbXQ9jeCJRpsPnF4Ni2a6F0/4CtJXtcG8iITN2fg5DMf6sNRI84 bJwPweehLwp95yHmo49tNVJsPtUaX3/9Fnkj+JJZwIPHrM8MYGOcLo/mZsESEj/Ma4kc LNe2kjRCVBmIkj5iCpXZm09hrgnVJWJjlBAgU9T95eF1s9FoYVDaNvbJIzQZYbh/ETky JpQ7IZZE1IOtnFa83LentyP+MswxsoXwENFVDPGEQ6Q4bkPlcEHNnTSefB5vQIaiO0Km 5IaA== X-Gm-Message-State: AMke39lJu/dlNr80Ww06qYVKfLvu4B8lgSJ57dKiG6in+e4F9PT5+ZXp9paChEjNfDb88AYj X-Received: by 10.200.58.97 with SMTP id w88mr36333123qte.28.1487873021884; Thu, 23 Feb 2017 10:03:41 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id 140sm3142497qkj.19.2017.02.23.10.03.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Feb 2017 10:03:41 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id A5904142C; Thu, 23 Feb 2017 15:03:39 -0300 (CLST) Date: Thu, 23 Feb 2017 15:03:39 -0300 From: Alvaro Herrera To: Bruce Momjian Cc: Pavan Deolasee , Jaime Casanova , Haribabu Kommi , Tomas Vondra , pgsql-hackers Subject: Re: Patch: Write Amplification Reduction Method (WARM) Message-ID: <20170223180339.sp6dkumsklt44kys@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170223155146.GJ20486@momjian.us> User-Agent: NeoMutt/20170206-195-7adf12 (1.7.2) X-Pg-Spam-Score: -2.6 (--) 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 Bruce Momjian wrote: > As I remember, WARM only allows > a single index-column change in the chain. Why are you seeing such a > large performance improvement? I would have thought it would be that > high if we allowed an unlimited number of index changes in the chain. The second update in a chain creates another non-warm-updated tuple, so the third update can be a warm update again, and so on. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, 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