Re: Performance improvement for joins where outer side is unique

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: dgrowleyml(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Performance improvement for joins where outer side is unique
Date: 2015-03-20 03:11:40
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


> Hello, The attached is non-search version of unique join.

This is a quite bucket-brigade soye makes many functions got
changes to have new parameter only to convey the new bool
information. I know it's very bad.

After some consideration, I removed almost all of such parameters
from path creation function and confine the main work within
add_paths_to_joinrel. After all the patch shrinked and looks
better. Addition to that, somehow, some additional regtests found
to be inner-unique.

I think this satisfies your wish and implemented in non
exhaustive-seearch-in-jointree manner. It still don't have
regressions for itself but I don't see siginificance in adding
it so much...


Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
0001-Boost-inner-unique-joins.patch text/x-patch 17.0 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2015-03-20 03:12:56 Re: Patch: Add launchd Support
Previous Message Tom Lane 2015-03-20 03:08:38 Re: configure can't detect proper pthread flags