Re: advanced partition matching algorithm for partition-wise join
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Antonin Houska <ah@cybertec.at>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-10-13T02:29:16Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Suppress unused-variable warning.
- 401418ca6a68 13.0 landed
-
Allow partitionwise joins in more cases.
- c8434d64ce03 13.0 landed
-
Avoid crash in partitionwise join planning under GEQO.
- 7ad6498fd5a6 12.0 cited
- d70c147fa217 11.3 cited
-
Disable support for partitionwise joins in problematic cases.
- 7cfdc77023ad 12.0 cited
-
Add plan_cache_mode setting
- f7cb2842bf47 12.0 cited
-
Add test for partitionwise join involving default partition.
- 4513d3a4be0b 12.0 cited
-
Revise API for partition_rbound_cmp/partition_rbound_datum_cmp.
- b0229235564f 11.0 landed
On Thu, Oct 12, 2017 at 9:46 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Wed, Oct 11, 2017 at 7:08 AM, Ashutosh Bapat > <ashutosh.bapat@enterprisedb.com> wrote: >> 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. > > So is that something you are going to fix? > Yes, if time permits. I had left the patch unattended while basic partition-wise join was getting committed. Now that it's committed, I rebased it. It still has TODOs and some work is required to improve it. But for the patch to be really complete, we have to deal with the problem of missing partitions described before. I am fine collaborating if someone else wants to pick it up. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company