Hash Join Optimization - Mailing list pgsql-hackers

From Gokulakannan Somasundaram
Subject Hash Join Optimization
Date
Msg-id 9362e74e0803251332y43391419j2be7eec320b084b1@mail.gmail.com
Whole thread Raw
Responses Re: Hash Join Optimization
List pgsql-hackers
Hi,<br />   I had a chance to go through the Hash join code of Postgresql and had the following thoughts.<br /><br />-
Currentlypostgres takes the heaptuple from the slot and creates and minimal_tuple and copies it into the temp file.<br
/><br/>I think the creation of minimal_tuple in the middle is a overhead which can be avoided by creating a mem-map and
directlycreating the minimal_tuple in the mem-map. Since Hash join is used mainly to join huge tables, this might
benefitthose warehouse customers of postgres.<br /><br />Am i missing something???<br /><br />Thanks,<br />Gokul.<br /> 

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: advancing snapshot's xmin
Next
From: Andrew Dunstan
Date:
Subject: Re: gcc 4.3 breaks ContribCheck in 8.2 and older.