Re: Research/Implementation of Nested Loop Join optimization

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Manoel Henrique" <mhenriquesgbd(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Research/Implementation of Nested Loop Join optimization
Date: 2008-07-23 22:50:38
Message-ID: D425483C2C5C9F49B5B7A41F8944154701000FA2@postal.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: Manoel Henrique [mailto:mhenriquesgbd(at)gmail(dot)com]
Sent: Wednesday, July 23, 2008 1:47 PM
To: Dann Corbit
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Research/Implementation of Nested Loop Join
optimization

The nodeMergejoin.c is the code for the Merge Join isn`t it? I am trying
to find a way to change the Nested Loop Join, It would be more like on
nodeNestloop.c when rescanning the inner plan, (second time scanning the
inner plan and so on) he`d change the scan direction, If the scan
direction was from first tuple to last tuple it would go backwards, if
it was from last to first it would go forward... The code I`m looking
atm is from 8.3.1 , seems to have some kind of direction manager but
doesn`t seems to be in use.

>>

You are right. You want file: nodeNestloop.c

<<

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-07-23 23:05:56 Re: [PATCHES] odd output in restore mode
Previous Message Tom Lane 2008-07-23 21:26:49 Re: [PATCHES] GIN improvements