From: Bruce Momjian <bruce@momjian.us>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: docs: fist draft version of the PG 12 release notes
Date: Fri, 10 May 2019 21:25:18 -0400
Message-ID: <20190511012518.ogp3kl6x4g723daw@momjian.us> (raw)
In-Reply-To: <5936b052-5d92-a2c9-75d2-0245fb2330b5@lab.ntt.co.jp>
References: <E1hNmd3-00028y-V5@gemulon.postgresql.org>
<3f0333be-fd32-55f2-9817-5853a6bbd233@lab.ntt.co.jp>
<20190509205737.t4zbxyoripvioy3n@momjian.us>
<5936b052-5d92-a2c9-75d2-0245fb2330b5@lab.ntt.co.jp>
On Fri, May 10, 2019 at 10:54:32AM +0900, Amit Langote wrote:
> On 2019/05/10 5:57, Bruce Momjian wrote:
> > So, in this case, there were so many partitioning improvements, I just
> > lumped them into one item. I think everyone can consider partitions to
> > perform much better in PG 12. Is there something more specific we
> > should communicate here?
>
> So the current text, which is:
>
> +<para>
> +Improve performance of pruning many partitions (Amit Langote, David
> Rowley, Tom Lane, Álvaro Herrera)
> +</para>
> +
> +<para>
> +Now thousands of partitions can be pruned efficiently.
> +</para>
> +</listitem>
>
> mentions improving "pruning" efficiency which applies only to
> SELECT/UPDATE/DELETE queries and can be attributed to only one of the many
> commits listed with this item. Performance of short INSERTs (as opposed
> to bulk-inserts including COPY) is also improved, but it has nothing to do
> "pruning".
>
> That said, efficiency is improved in both cases by not doing redundant
> work for partitions that are not affected by the query, that is,
>
> * for partitions which are pruned for a given SELECT/UPDATE/DELETE query
> (planner improvement)
>
> * for partitions which are not inserted into by a given INSERT statement
> (executor improvement, part of which was done in v11 but v11 still locks
> *all* partitions whereas v12 will only lock those that are inserted into)
>
>
> So, it might be fair to lump them, but maybe not use the word "pruning",
> because it describes only subset of affected workloads.
I struggled to talk about partitioning since there were so many
improvements. I favored a more generic item that just suggested
dramatic improvements. I have modified the text to:
Improve performance of many operations on partitioned tables (Amit
Langote, David Rowley, Tom Lane, Álvaro Herrera)
Also, thousands of partitions can now be pruned efficiently.
Committed. Does that work?
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us, Langote_Amit_f8@lab.ntt.co.jp
Subject: Re: pgsql: docs: fist draft version of the PG 12 release notes
In-Reply-To: <20190511012518.ogp3kl6x4g723daw@momjian.us>
References: <E1hNmd3-00028y-V5@gemulon.postgresql.org> <3f0333be-fd32-55f2-9817-5853a6bbd233@lab.ntt.co.jp> <20190509205737.t4zbxyoripvioy3n@momjian.us> <5936b052-5d92-a2c9-75d2-0245fb2330b5@lab.ntt.co.jp> <20190511012518.ogp3kl6x4g723daw@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox