From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: pgsql-sql@postgresql.org
Subject: Re: amount of join's and sequential access to the tables involved
Date: Wed, 11 Jan 2012 10:40:28 -0500
Message-ID: <20152.1326296428@sss.pgh.pa.us> (raw)
In-Reply-To: <1326296192.24629.12.camel@inca.fmed.uba.ar>
References: <1326296192.24629.12.camel@inca.fmed.uba.ar>
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
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: tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar
Subject: Re: amount of join's and sequential access to the tables involved
In-Reply-To: <20152.1326296428@sss.pgh.pa.us>
* 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