Re: Weird 8.2.4 performance - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: Weird 8.2.4 performance
Date
Msg-id 20070607093527.GA22482@uio.no
Whole thread Raw
In response to Weird 8.2.4 performance  (Kurt Overberg <kurt@hotdogrecords.com>)
Responses Re: Weird 8.2.4 performance
List pgsql-performance
On Wed, Jun 06, 2007 at 07:27:27PM -0400, Kurt Overberg wrote:
> This query runs great on production under 8.0 (27ms), but under 8.2.4
> (on my mac) I'm seeing times in excess of 50,000ms.  Note that on
> 8.2.4, if I run the query again, it gets successively faster
> (50,000ms->6000ms->27ms).  Is this normal?

Your production server probably has all the data in your cache, and your Mac
has not. Furthermore, they seem to be running on different data sets, judging
from your EXPLAIN ANALYZE.

How big did you say these tables were?

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Weird 8.2.4 performance
Next
From: "Marc Mamin"
Date:
Subject: copy from performance on large tables with indexes