Re: Un peu décu : Re: Performance regression with PostgreSQL 11 and partitioning

David Rowley <david.rowley@2ndquadrant.com>

From: David Rowley <david.rowley@2ndquadrant.com>
To: Christophe Courtois <christophe.courtois@dalibo.com>
Cc: Thomas Reiss <thomas.reiss@dalibo.com>, Robert Haas <robertmhaas@gmail.com>, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, Amit Langote <amitlangote09@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-07-09T20:10:27Z
Lists: pgsql-hackers
On 10 July 2018 at 00:47, Christophe Courtois
<christophe.courtois@dalibo.com> wrote:
> J'ai eu peur, 7d872c91a3f9d49b56117557cdbb0c3d4c620687 n'est pas en bêta
> 2 mais bien dans REL_11_STABLE.
>
> J'ai relancé mes scripts avec 10000 partitions vides, un peu à l'arrache
> et sans rigueur : la dernière version incluant ce patch est
> effectivement souvent moitié plus rapide qu'en 10, mais si je joins deux
> tables à 10000 partitions entre elles, ça devient 2 fois plus
> catastrophique.
>
> Bref, un sacré progrès quand même. Merci d'avoir porté ça sur hackers.

(Christophe reports 2x performance regression with PG11 when using
10000 partitions)

Hi Christophe,

Thanks for the report. Can you supply your test case when shows this regression?

Please, can you also post in English for the future.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Commits

  1. Fix typo in comment

  2. Allow direct lookups of AppendRelInfo by child relid

  3. Teach adjust_appendrel_attrs(_multilevel) to do multiple translations.