pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dirk Lutzebaeck <lutzeb@aeccom.com>
To: pgsql-sql@postgresql.org
Subject: Optimizer question with equivalent joins
Date: Fri, 21 Jun 2002 16:26:03 +0200
Message-ID: <15635.14203.405079.671597@cayambe.core.aeccom.com> (raw)


Hello,

say I have a join which says

    t.a = t.b and t.b = t.c

do I need to give the optimizer a hint by saying it more redundantly

    t.a = t.b and t.b = t.c and t.c = t.a

or is this just counter productive because there is one more join?

In the real world I have 10-20 equivalent joins which would really
blow up if I have to choose the second option.

Dirk


 



view thread (2+ messages)  latest in thread

Message-ID: <15635.14203.405079.671597@cayambe.core.aeccom.com>
Permalink:  ../15635.14203.405079.671597@cayambe.core.aeccom.com/
Also on:    postgresql.org/message-id/15635.14203.405079.671597@cayambe.core.aeccom.com

 · 

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: lutzeb@aeccom.com
  Subject: Re: Optimizer question with equivalent joins
  In-Reply-To: <15635.14203.405079.671597@cayambe.core.aeccom.com>

* 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