From: Joel Fradkin <jfradkin@wazagua.com>
To: 'T- Bone' <jbowen333@hotmail.com>
To: dev@archonet.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Comments on subquery performance
Date: Fri, 18 Feb 2005 13:44:18 -0500
Message-ID: <000001c515e9$db144870$797ba8c0@jfradkin> (raw)
In-Reply-To: <BAY103-F77BD9495F39A47F1A2935E76E0@phx.gbl>
Yea we examined it here as a group as we are facing the same kind of stuff
and found exactly the same thing.
It does what MSSQL called a Cartesian join, and ran no faster other then
removing the outer join logic.
Using a regular join statement and only inner joins was the same speed and I
think little less confusing when you have several joins as our system does.
We may have to look at re-engineering our system as the original design has
dozens of table whith a field set like ID, Value to hold stuff like
apprehension type, jobtitle etc. So we hold a main record with dozens of
id's (and joins when reporting).
Joel Fradkin
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: jfradkin@wazagua.com, jbowen333@hotmail.com, dev@archonet.com
Subject: Re: Comments on subquery performance
In-Reply-To: <000001c515e9$db144870$797ba8c0@jfradkin>
* 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