pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Brown <bigwhitecow@hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: severe performance issue with planner
Date: Sun, 28 Mar 2004 12:16:18 -0500
Message-ID: <16579.1080494178@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY13-F143A1R1q0iLo000112cf@hotmail.com>
References: <BAY13-F143A1R1q0iLo000112cf@hotmail.com>

"Eric Brown" <bigwhitecow@hotmail.com> writes:
> Here's the query as I have changed it now:

Now that you've switched to JOIN syntax, you can cut the planning time
to nil by setting join_collapse_limit to 1.  See
http://www.postgresql.org/docs/7.4/static/explicit-joins.html

			regards, tom lane



view thread (8+ messages)

Message-ID: <16579.1080494178@sss.pgh.pa.us>
Permalink:  ../16579.1080494178@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16579.1080494178@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bigwhitecow@hotmail.com
  Subject: Re: severe performance issue with planner
  In-Reply-To: <16579.1080494178@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