pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: amount of join's and sequential access to the tables involved
Date: Thu, 12 Jan 2012 11:09:55 -0300
Message-ID: <1326377395.1877.1.camel@inca.fmed.uba.ar> (raw)
In-Reply-To: <20152.1326296428@sss.pgh.pa.us>
References: <1326296192.24629.12.camel@inca.fmed.uba.ar>
	<20152.1326296428@sss.pgh.pa.us>

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




view thread (5+ messages)

Message-ID: <1326377395.1877.1.camel@inca.fmed.uba.ar>
Permalink:  ../1326377395.1877.1.camel@inca.fmed.uba.ar/
Also on:    postgresql.org/message-id/1326377395.1877.1.camel@inca.fmed.uba.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: gherzig@fmed.uba.ar, tgl@sss.pgh.pa.us
  Subject: Re: amount of join's and sequential access to the tables involved
  In-Reply-To: <1326377395.1877.1.camel@inca.fmed.uba.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox