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

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 (view raw or flat)
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

pgsql-sql by date

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

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