Re: Research/Implementation of Nested Loop Join optimization - Mailing list pgsql-hackers

From Dann Corbit
Subject Re: Research/Implementation of Nested Loop Join optimization
Date
Msg-id D425483C2C5C9F49B5B7A41F8944154701000FA2@postal.corporate.connx.com
Whole thread Raw
In response to Re: Research/Implementation of Nested Loop Join optimization  ("Manoel Henrique" <mhenriquesgbd@gmail.com>)
List pgsql-hackers

 

From: Manoel Henrique [mailto:mhenriquesgbd@gmail.com]
Sent: Wednesday, July 23, 2008 1:47 PM
To: Dann Corbit
Cc: pgsql-hackers@postgresql.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

<< 

 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] GIN improvements
Next
From: Simon Riggs
Date:
Subject: Re: [PATCHES] odd output in restore mode