amount of join's and sequential access to the tables involved

From: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>
To: pgsql-sql(at)postgresql(dot)org
Subject: amount of join's and sequential access to the tables involved
Date: 2012-01-11 15:36:32
Message-ID: 1326296192.24629.12.camel@inca.fmed.uba.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi all. Im working on a 'simple' query with 7, 8 left joins. After the
9nth join or so, explain analyze became to show the plan with many
tables being read in sequential fashion. Of course, this slows down the
query response in a factor on 10.

I can alter the order in wich the join's are appended, allways with the
same result.

So,it looks like a resources config situation.

Wich config variables are involved in the use of hash joins?

(I dont have access right now to the server running pg, so i cannot show
query plan nor pg configuration)

Thanks!

Gerardo

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2012-01-11 15:40:28 Re: amount of join's and sequential access to the tables involved
Previous Message Tony Capobianco 2012-01-11 14:29:04 Re: compare table names