Re: PostgreSQL 12: Feature Highlights

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Justin Clift <justin(at)postgresql(dot)org>
Cc: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, pgsql-advocacy(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL 12: Feature Highlights
Date: 2019-05-13 02:19:45
Message-ID: CAKJS1f9=xUz5y=VDy6hYMVpSoej9+D2BminegmfqHwdWQfpQ9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Mon, 13 May 2019 at 13:50, Justin Clift <justin(at)postgresql(dot)org> wrote:
>
> On 2019-05-13 09:47, David Rowley wrote:
> > On Mon, 13 May 2019 at 03:28, Jonathan S. Katz <jkatz(at)postgresql(dot)org>
> > 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

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Amit Langote 2019-05-13 06:37:05 Re: PostgreSQL 12: Feature Highlights
Previous Message Justin Clift 2019-05-13 01:50:00 Re: PostgreSQL 12: Feature Highlights

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2019-05-13 02:45:59 pglz performance
Previous Message Justin Clift 2019-05-13 01:50:00 Re: PostgreSQL 12: Feature Highlights