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 1hQ06Y-0002Qo-US for pgsql-advocacy@arkaria.postgresql.org; Mon, 13 May 2019 01:50:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hQ06X-0001KB-9S for pgsql-advocacy@arkaria.postgresql.org; Mon, 13 May 2019 01:50:13 +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 1hQ06W-0001K4-Lo for pgsql-advocacy@lists.postgresql.org; Mon, 13 May 2019 01:50:13 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ06P-0006h1-Qq for pgsql-advocacy@lists.postgresql.org; Mon, 13 May 2019 01:50:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:References:In-Reply-To:Subject:Cc: To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender: Reply-To:Content-ID:Content-Description; bh=vuVRf2ZHWZvhYrxggMQidIO3Rxt3qMGmQ7sqbxfQD70=; b=27noF84EUsuljpCX49dYBjzM4L w3ydVDtjT8LnlIREwlrl82CyHuDEaQSOqdhRbjH3GT9IuSxILFfqQ3pHU2ica7SSmzw858eBZ8HSU A2uY9b44alqDf7LRHHlyBhVDmmBCtzLAfn6oPglfGOL44kO8SKav1Y2Vu+NEa3+MLsSmFMgZB8mtt 5lSHmwxI1J9oLJNZr8sXMRtK9jOtlC1PrgS0A/ghW8ApqmTqfRVpIyqKZy6+zG0ErdZ2yR4y9OdDI 4MaTcVwrVnDL4BcPXklFq7WYGumoh0BIU08vk+zOQ5rxApl/Qt6RzJkq4PMPYRkPnABgsPuAz0xmG 1KYGUDlQ==; Received: from meldrar.postgresql.org ([87.238.57.231] helo=webmail.postgresql.org) by meldrar.postgresql.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ06L-0001Qy-Cm; Mon, 13 May 2019 01:50:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 13 May 2019 11:50:00 +1000 From: Justin Clift To: David Rowley Cc: "Jonathan S. Katz" , pgsql-advocacy@lists.postgresql.org Subject: Re: PostgreSQL 12: Feature Highlights In-Reply-To: References: <830415f7-78ec-ef7b-0f73-0e810ef87f91@postgresql.org> Message-ID: X-Sender: justin@postgresql.org User-Agent: Roundcube Webmail/1.2.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 (?)