Re: 8.2 Query 10 times slower than 8.1 (view-heavy) - Mailing list pgsql-performance

From Gregory Stark
Subject Re: 8.2 Query 10 times slower than 8.1 (view-heavy)
Date
Msg-id 87k5rfslbf.fsf@oxford.xeocode.com
Whole thread Raw
In response to 8.2 Query 10 times slower than 8.1 (view-heavy)  ("Evan Carroll" <lists@evancarroll.com>)
Responses Re: 8.2 Query 10 times slower than 8.1 (view-heavy)
List pgsql-performance
"Evan Carroll" <lists@evancarroll.com> writes:

"Evan Carroll" <lists@evancarroll.com> writes:

> Dearest dragon hunters and mortal wanna-bes,
>
> I recently upgraded a system from Apache2/mod_perl2 to
> Lighttpd/fastcgi. The upgrade went about as rough as can be. While in
> the midst of a bad day, I decided to make it worse, and upgrade Pg 8.1
> to 8.2. Most people I talk to seem to think 8.1 was a lemon release;
> not I. It worked excellent for me for the longest time, and I had no
> good reason to upgrade it, other than to just have done so.

I assume you mean 8.1.9 and 8.2.4?

> The following material is provided for your assisting-me-pleasure: the
> original SQL; the \ds for all pertinent views and tables; the output
> of Explain Analyze; and the original query.

While I do in fact enjoy analyzing query plans I have to say that 75-line
plans push the bounds of my assisting-you-pleasure. Have you experimented with
simplifying this query?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-performance by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: 8.2 Query 10 times slower than 8.1 (view-heavy)
Next
From: "Joshua D. Drake"
Date:
Subject: Re: 8.2 Query 10 times slower than 8.1 (view-heavy)