Re: advanced partition matching algorithm for partition-wise join
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-01T19:12:03Z
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
Attachments
- 0011-Modify-bound-comparision-functions-to-accept-members.patch (text/x-patch) patch 0011
- 0012-WIP-Partition-wise-join-for-1-1-1-0-0-1-partition-ma.patch (text/x-patch) patch 0012
PFA the patches rebased on the latest sources. There are also fixes for some of the crashes and bugs reported. I haven't yet included the testcase patch in the main patchset. On Mon, Aug 28, 2017 at 12:44 PM, Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com> wrote: > On Mon, Aug 21, 2017 at 12:43 PM, Ashutosh Bapat > <ashutosh.bapat@enterprisedb.com> wrote: >> >> TODOs >> ----------- >> 1. Add tests for advanced partition matching algorithm > > > Hi Ashutosh, > > I have applied all partition-wise-join patches (v26) and tested feature. I > have modified partition_join.sql file and added extra test cases to test > partition matching. > > Attaching WIP test case patch which as of now have some server crashes and a > data corruptions issue which is commented in the file itself and need to be > removed once issue got solved. Also some of queries is not picking or > picking partition-wise-join as per expectation which may need some > adjustment. > > > > > > -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company