From: Jim C. Nasby <jim@nasby.net>
To: pgsql-performance@postgresql.org
Subject: Re: left join performance problem
Date: Mon, 16 Jun 2003 00:10:28 -0500
Message-ID: <20030616001028.Q66185@flake.decibel.org> (raw)
In-Reply-To: <3EE8061B.1FAED8AD@t1.unisoftbg.com>
References: <3EE74C2D.88390062@t1.unisoftbg.com>
<26068.1055386671@sss.pgh.pa.us>
<3EE8061B.1FAED8AD@t1.unisoftbg.com>
On Thu, Jun 12, 2003 at 06:48:27AM +0200, pginfo wrote:
> Many thanks Tom,
> the doc do not contain solution for this case, but the idea to
> change the join order was excelent and all is working fine at the moment.
Any chance of getting a TODO added that would provide the option of
having the optimizer pick join order when you're using the ANSI join
syntax?
IMHO I think it's bad that using the ANSI syntax forces join order; it
would be much better to come up with a custom syntax for this like
everyone else does. But I'm sure people won't want to change the
existing behavior, so special syntax to do the opposite is almost as
good.
--
Jim C. Nasby (aka Decibel!) jim@nasby.net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: jim@nasby.net
Subject: Re: left join performance problem
In-Reply-To: <20030616001028.Q66185@flake.decibel.org>
References: <3EE74C2D.88390062@t1.unisoftbg.com> <26068.1055386671@sss.pgh.pa.us> <3EE8061B.1FAED8AD@t1.unisoftbg.com> <20030616001028.Q66185@flake.decibel.org>
* 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