Re: Decrease in performance with 7.3/optimizing a query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Harry <h3(at)x-maru(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Decrease in performance with 7.3/optimizing a query
Date: 2002-12-23 02:31:30
Message-ID: 28365.1040610690@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Harry <h3(at)x-maru(dot)org> writes:
> Previously, with Postgres 7.2.1, this query would take about 10 seconds - not
> exactly speedy, but tolerable. However, since upgrading to 7.3, this query now
> takes about 30 seconds.

Don't suppose you have the query plan that was used in 7.2? (Though I'd
expect it to be the same, offhand; and it's hard to see how to improve it
given your statements about the data.)

Are you sure 7.3 is configured the same as 7.2? I'd wonder about
sort_mem and locale setting in particular. You could be losing just on
the extra sort time needed for a non-C-locale sort.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Harry 2002-12-23 04:01:34 Re: Decrease in performance with 7.3/optimizing a query
Previous Message Harry 2002-12-22 21:59:26 Decrease in performance with 7.3/optimizing a query