pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Archibald Zimonyi <archie@netg.se>
Cc: postgres sql list <pgsql-sql@postgresql.org>
Subject: Re: Performance problem, what to do?
Date: Tue, 18 Dec 2001 10:36:54 -0500
Message-ID: <13424.1008689814@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0112181428080.8378-300000@valdez.netg.se>
References: <Pine.LNX.4.21.0112181428080.8378-300000@valdez.netg.se>

Archibald Zimonyi <archie@netg.se> writes:
> On demand, I'll post the database structure as well as the SQL query which
> creates the slow respons. I'll add them as attachments (do they come at
> all?).

You're forcing the join order by using explicit JOIN syntax.
Rearranging the join order might yield a better plan.  See
http://www.postgresql.org/users-lounge/docs/7.1/postgres/explicit-joins.html

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <13424.1008689814@sss.pgh.pa.us>
Permalink:  ../13424.1008689814@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13424.1008689814@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, archie@netg.se
  Subject: Re: Performance problem, what to do?
  In-Reply-To: <13424.1008689814@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