Re: advanced partition matching algorithm for partition-wise join

From: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: advanced partition matching algorithm for partition-wise join
Date: 2017-10-11 11:08:23
Message-ID: CAFjFpRfiK9jaf01O-umKRoKeAP1wuNK8D8yi9ZxSkjKKAL7tvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Here's updated patch set based on the basic partition-wise join
committed. The patchset applies on top of the patch to optimize the
case of dummy partitioned tables [1].

Right now, the advanced partition matching algorithm bails out when
either of the joining relations has a default partition.

[1] https://www.postgresql.org/message-id/CAFjFpRcPvT5ay9_p3e-k2Cwu4bW_rypON7ceJVWhsU3Uk4Nmmg@mail.gmail.com

--
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company

Attachment Content-Type Size
0002-Modify-bound-comparision-functions-to-accept-members.patch text/x-patch 7.5 KB
0003-WIP-Partition-wise-join-for-1-1-1-0-0-1-partition-ma.patch text/x-patch 50.5 KB
0004-Tests-for-0-1-1-1-and-1-0-partition-matching.patch text/x-patch 209.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-10-11 11:11:17 Re: performance drop after upgrade (9.6 > 10)
Previous Message Greg Stark 2017-10-11 11:07:22 Re: On markers of changed data