pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Evan Carroll <lists@evancarroll.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 8.2 Query 10 times slower than 8.1 (view-heavy)
Date: Tue, 28 Aug 2007 09:17:28 -0700
Message-ID: <46D44A98.90006@commandprompt.com> (raw)
In-Reply-To: <87k5rfslbf.fsf@oxford.xeocode.com>
References: <428b865e0708280822u522391ecr5366bb5a6647f1aa@mail.gmail.com>
	<87k5rfslbf.fsf@oxford.xeocode.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregory Stark wrote:
> "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?

Although simplifying the query is probably in order, doesn't it stand to
reason that there may be a problem here. 10x difference (in the worse)
from a lower version to a higher, is likely wrong :)

Joshua D. Drake

> 


- --

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
			UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1EqYATb/zqfZUUQRAighAJ9g+Py+CRwsW7f5QWuA4uZ5G26a9gCcCXG2
0Le2KBGpdhDZyu4ZT30y8RA=
=MfQw
-----END PGP SIGNATURE-----



view thread (12+ messages)  latest in thread

Message-ID: <46D44A98.90006@commandprompt.com>
Permalink:  ../46D44A98.90006@commandprompt.com/
Also on:    postgresql.org/message-id/46D44A98.90006@commandprompt.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-performance@postgresql.org
  Cc: jd@commandprompt.com, stark@enterprisedb.com, lists@evancarroll.com
  Subject: Re: 8.2 Query 10 times slower than 8.1 (view-heavy)
  In-Reply-To: <46D44A98.90006@commandprompt.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