Re: Adding Zigzag Merge Join to Index Nested Loops Join - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Adding Zigzag Merge Join to Index Nested Loops Join
Date
Msg-id CA+Tgmobdisbtopo5iQk1dRD+kkNrgWiHuX97HtEmCjqg6AgZXw@mail.gmail.com
Whole thread Raw
In response to Adding Zigzag Merge Join to Index Nested Loops Join  (tubadzin <tubadzin@o2.pl>)
List pgsql-hackers
On Tue, Jul 23, 2013 at 3:40 PM, tubadzin <tubadzin@o2.pl> wrote:
> I want add Zigzag Merge join to Index Nested Loops Join alghoritm.
> http://www.cs.berkeley.edu/~fox/summaries/database/query_eval_5-8.html
> Which files are responsible for Index nested loops join ? (not simple nested
> loops join which has double foreach in nodeNestloop.c) nodeIndexscan.c?
> nodeIndexonlyscan.c?
> Best Regards

nodeNestloop.c handles all execution of all nested loops, regardless
of whether there's an index scan involved.  Of course, if there is an
index scan involved, then nodeIndexscan.c will also be involved; if
there is an index-only scan, then nodeIndexonlyscan.c, and so on.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Karol Trzcionka
Date:
Subject: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Next
From: Greg Stark
Date:
Subject: Re: Review: UNNEST (and other functions) WITH ORDINALITY