Re: question about efficiency - Mailing list pgsql-general

From Tom Lane
Subject Re: question about efficiency
Date
Msg-id 2830.1037034893@sss.pgh.pa.us
Whole thread Raw
In response to Re: question about efficiency  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: question about efficiency  (<dev@archonet.com>)
List pgsql-general
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> It's basically converted it into a three way join.

More to the point, an *unconstrained* join between "claimsum2001
as claimsum2001" and the intended joined table.  The reason it
ran for so long was it was generating a huge number of rows ---
as many as would be in the cross product.

            regards, tom lane

pgsql-general by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: Win2K Questions
Next
From: "scott.marlowe"
Date:
Subject: Re: Stale Process