Skip site navigation (1) Skip section navigation (2)

Hash Join Optimization

From: "Gokulakannan Somasundaram" <gokul007(at)gmail(dot)com>
To: "pgsql-hackers list" <pgsql-hackers(at)postgresql(dot)org>
Subject: Hash Join Optimization
Date: 2008-03-25 20:32:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
   I had a chance to go through the Hash join code of Postgresql and had the
following thoughts.

- Currently postgres takes the heaptuple from the slot and creates and
minimal_tuple and copies it into the temp file.

I think the creation of minimal_tuple in the middle is a overhead which can
be avoided by creating a mem-map and directly creating the minimal_tuple in
the mem-map. Since Hash join is used mainly to join huge tables, this might
benefit those warehouse customers of postgres.

Am i missing something???



pgsql-hackers by date

Next:From: Andrew DunstanDate: 2008-03-25 22:03:39
Subject: Re: gcc 4.3 breaks ContribCheck in 8.2 and older.
Previous:From: Jeff DavisDate: 2008-03-25 20:28:47
Subject: Re: PostgreSQL Replication with read-only access tostandby DB

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group