Re: Improving our clauseless-join heuristics - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Improving our clauseless-join heuristics
Date
Msg-id 20977.1334725589@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improving our clauseless-join heuristics  (Amit Kapila <amit.kapila@huawei.com>)
Responses Re: Improving our clauseless-join heuristics  (Amit Kapila <amit.kapila@huawei.com>)
List pgsql-hackers
Amit Kapila <amit.kapila@huawei.com> writes:
>> I might still be misunderstanding, but I think what you are suggesting
>> is that in the loop in make_rels_by_clause_joins, if we find that the
>> old_rel doesn't have a join clause/restriction with the current
>> other_rel, we check to see whether other_rel has any join clauses at
>> all, and force the join to occur anyway if it doesn't.

> It is on similar lines, but the only difference is that it will try to join 
> old_rel with other_rel list incase 
> old_rel is not able to join with any of other_rel in the list with proper
> join clause between them. 

I'm afraid I'm still not following you very well.  Perhaps you could
submit a proposed patch?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap
Next
From: Tom Lane
Date:
Subject: Re: 9.3 Pre-proposal: Range Merge Join