Re: amount of join's and sequential access to the tables involved - Mailing list pgsql-sql

From Gerardo Herzig
Subject Re: amount of join's and sequential access to the tables involved
Date
Msg-id 1326377395.1877.1.camel@inca.fmed.uba.ar
Whole thread Raw
In response to Re: amount of join's and sequential access to the tables involved  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
El mié, 11-01-2012 a las 10:40 -0500, Tom Lane escribió:
> Gerardo Herzig <gherzig@fmed.uba.ar> writes:
> > 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.
>
> increase join_collapse_limit, perhaps?
>
>             regards, tom lane
>

Im sory Tom and all, again stuck with this. Now i have 9 joins, and
join_collapse_limit = 20, and the query slows down big time when the 9th
join appears.

Another configuration variable to check against?

Thanks again.
Gerardo



pgsql-sql by date:

Previous
From: David Johnston
Date:
Subject: Re: Unable To Alter Data Type
Next
From: Carlos Mennens
Date:
Subject: Unable To Modify Table