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 1hPyBs-0005Xf-25 for pgsql-advocacy@arkaria.postgresql.org; Sun, 12 May 2019 23:47:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hPyBp-00019I-GR for pgsql-advocacy@arkaria.postgresql.org; Sun, 12 May 2019 23:47:33 +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 1hPyBo-000195-QV for pgsql-advocacy@lists.postgresql.org; Sun, 12 May 2019 23:47:33 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPyBh-00041X-2d for pgsql-advocacy@lists.postgresql.org; Sun, 12 May 2019 23:47:31 +0000 Received: by mail-io1-xd43.google.com with SMTP id b3so8607130iob.12 for ; Sun, 12 May 2019 16:47:24 -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=zsfjglLfMcnX5YJ1hBih+w2LDzxehXKfMyFB35alitQ=; b=Z6O1WRfaL5qXS3kuaIPMapDQosF1zn2Vzy41EHI9TEtXK/yCBSNStIrtHhnOE8u7+7 HoUiudlhTCUqyrtAUM1taLSUWnZ03XlkdoW8S7jeZz5VGxJ6t3IghX226C84m/L8ERjf OTV7Gg2AeTVCalsyaJpt45+q4uYQg8TpNraKcvyE2tmkO9eREeQqpdaec0wLOXv2twul LxLuJtMDS/gsFQHMxOMl4ePr4FWrXKcNml5cqPmFXK19BicFYHWz5EbrSnIAWOJxHZDm M5m9hxIjaVyRx9P9+aFFmeXV7Wp+XGaItiVOON4Zz0oetVZQTLzXEG6GS7tYzUg72T+6 fDYA== 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=zsfjglLfMcnX5YJ1hBih+w2LDzxehXKfMyFB35alitQ=; b=O/Qpg2fwVyexbg9ilELmKdriZ4Ut5EYfIBKP7eTSB5KMgf9bxIYj4enwNJR2hGPm/Y 8SI3zoEXuR8Msep1PATAqtTVoVPvv+vxWnD2LDQZMaGYv19iQHiIjek83HvGbyttRJ/c L1PjRHBjwP1EPi62+bJQx6NDXj8N1C5bedMj+eIpwdG4GWUduBNeWAAGZ8YEfxSg3a3Z +24qI1Z8TfH92dK/4r3kLjkFLckCNA6tf+KaxztA70HtYas8gG0N9w4iuVynvN6U/kgZ Q2mg7DQHuiiMCIACRglRwbQxdSL63i0W23Rwo0CQXY90zhPHW5XxuQo4suh0nGzEJFrd Gl3g== X-Gm-Message-State: APjAAAV1makSxcFHEjaobbqc3uHTKPSnAOzKsUGDXISykcFMpYIB6go7 ED0gJHEi3mM2SUwnPo/zPjZl7sA0y498Mo6sSkBdNKmLNaM= X-Google-Smtp-Source: APXvYqy6NOUFcxuAKuWOaCUW/sHo3lq7s8oLd7E11nqEyCL5FRTMmpWXadST71xjmlrNjTva3mxr8WntAe+8h0KcqqE= X-Received: by 2002:a5e:8f41:: with SMTP id x1mr10663790iop.159.1557704843591; Sun, 12 May 2019 16:47:23 -0700 (PDT) MIME-Version: 1.0 References: <830415f7-78ec-ef7b-0f73-0e810ef87f91@postgresql.org> In-Reply-To: <830415f7-78ec-ef7b-0f73-0e810ef87f91@postgresql.org> From: David Rowley Date: Mon, 13 May 2019 11:47:12 +1200 Message-ID: Subject: Re: PostgreSQL 12: Feature Highlights To: "Jonathan S. Katz" Cc: 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 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. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services