Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ0ZP-0003sn-Bv for pgsql-advocacy@arkaria.postgresql.org; Mon, 13 May 2019 02:20:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hQ0ZN-0005cT-5y for pgsql-advocacy@arkaria.postgresql.org; Mon, 13 May 2019 02:20:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ0ZM-0005cL-R4 for pgsql-advocacy@lists.postgresql.org; Mon, 13 May 2019 02:20:00 +0000 Received: from mail-it1-x141.google.com ([2607:f8b0:4864:20::141]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ0ZJ-0007Il-QP for pgsql-advocacy@lists.postgresql.org; Mon, 13 May 2019 02:19:59 +0000 Received: by mail-it1-x141.google.com with SMTP id m141so16564250ita.3 for ; Sun, 12 May 2019 19:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LKMfRReC5ldEcoLfnC401Djdl5qTz9AnSM/134Soq5E=; b=1LvjdBk2eTlCALTpXDYw608fazxvFBehzPMVdO+8tQwIWvtcwYVyvS/IodeYIXpsqe s9mmO2ljWCN1dHf6TyaLvYCT7zv0JQqxI7T9B6OyH/mUoPBp4U9S+37AIeEl5W70/gET MKWnjWKtomXy6+VTW//iLi4WT2XAGwX/1J+oNRfi+f3KToI6FivkgSBpP+fhdPPXlkw5 kDOZZ9mctk+6q2y7HBp3xhyjq4rAtdljo93KWrM2pWBigWiZNXq7Y/Mk8tQLiQbm9irv fOqCVRIN6Za0r1gABhRAaIxQyJh1jNWiRgDRij9aNbnI3BvFUrR6PPeHbA0l9W6C+Q0B Nn1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LKMfRReC5ldEcoLfnC401Djdl5qTz9AnSM/134Soq5E=; b=fBBOvju1MbQoHZACfpyCTIgSQQ62oCKF19aeQjzIj9MqzlXfL43slykroLWdpDuA00 PtfK2YC0lLUroLzJM7Qg+8PUxVXZDAVaBdeTaYrgNLnqq3dxq7W0DLc4K2x0fm3F6FLk 6B92P/6Qg0xaB4ukSlXONiflEwi6kkQzBBEjMzOKpK2WcTop3V5/3CBPR/R5UwIr/w54 CDfQgGHnSIZ20UbH6Nnv0dfTHKzM1J9p4i8U4oI/A+BsUjml2RvGwKHl3CdF9JZs4CKB EIqVW7M0O8YU4tzlH9ebInQuIljD89H+tW/zDzAVt7OYqJEMztZQg7LyTdojXR5gAJDy JynQ== X-Gm-Message-State: APjAAAWu4JumOEB3qFD97/C0PLGxSHwkl5lM3026i52CdmT+5ltpoxG2 XbZuuMYyUjH7kGxwNVzef07jAtqLTj0hB4DFdNEwOw== X-Google-Smtp-Source: APXvYqzPuS5KMXXrhwIZQRMmLAY1867xQHN8X4RzC99u18XPZB+NCBPk8UP3/Opg/hBDOidK6ynzQXEQRUlyHsVXpwA= X-Received: by 2002:a02:3846:: with SMTP id v6mr17253160jae.81.1557713996800; Sun, 12 May 2019 19:19:56 -0700 (PDT) MIME-Version: 1.0 References: <830415f7-78ec-ef7b-0f73-0e810ef87f91@postgresql.org> In-Reply-To: From: David Rowley Date: Mon, 13 May 2019 14:19:45 +1200 Message-ID: Subject: Re: PostgreSQL 12: Feature Highlights To: Justin Clift Cc: "Jonathan S. Katz" , pgsql-advocacy@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 13 May 2019 at 13:50, Justin Clift wrote: > > On 2019-05-13 09:47, David Rowley wrote: > > On Mon, 13 May 2019 at 03:28, Jonathan S. Katz > > wrote: > >> - Performance, e.g. enhanced partition pruning, COPY performance, > >> ATTACH > > > > I don't think it's very accurate to say that the performance of > > partition pruning has been improved. Really the improvement there is > > due to the change in the order of operations, where we now perform > > pruning before fetching partition meta-data. Pruning itself, I don't > > believe became any faster in PG12. There were, however various tweaks > > to improve performance of some operations around run-time partition > > pruning both in the planner and during execution, these, however, are > > not improvements to pruning itself, but more the operations around > > setting up pruning and handling what happens after pruning takes > > place. Bruce has now changed the release notes to mention "Improve > > performance of many operations on partitioned tables", which seems > > like a more accurate generalisation of what was improved, although, I > > still think it's overly vague. > > Sounds like "partition pruning is now more efficient". eg less memory > usage (?), with a side effect of better performance leading from that > (?) I think the headline item needs to be about the fact that partitioning can now more easily handle larger numbers of partitions. To say pruning is more efficient is just a chapter in the story. The big users of partitioning want and need the entire book. Perhaps something along the lines of: - Improve optimizer and executor to allow them to more easily handle larger numbers of partitions. - Allow ATTACH PARTITION to work without blocking concurrent DML. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services