Re: Postgres 8.3, four times slower queries? - Mailing list pgsql-performance

From Robert Haas
Subject Re: Postgres 8.3, four times slower queries?
Date
Msg-id 603c8f070903051115h58643593rb5f6301f3d5cf988@mail.gmail.com
Whole thread Raw
In response to Re: Postgres 8.3, four times slower queries?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-performance
On Thu, Mar 5, 2009 at 1:57 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
>>>> Aaron Guyon <battlemage@gmail.com> wrote:
>> 8.3.3: 1195 ms
>> 8.2.12: 611 ms
>
> Could you send the non-commented lines from the postgresql.conf files
> from both installations?
>
> If feasible, update to the latest bug-fix version of 8.3.
>
> Also, if you haven't already done so, try setting effective_cache_size
> = '3GB' and random_page_cost = 2 for the 8.3 database and restart to
> see what kind of plan you get.

I still there's a problem with that index, now it's called
idx_payment_amount_payment_id.  What do you get from this?

select * from pg_index where indexrelid =
'idx_payment_amount_payment_id'::regclass;

Have you tried:

reindex table payment_amount

...Robert

pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Postgres 8.3, four times slower queries?
Next
From: Aaron Guyon
Date:
Subject: Re: Postgres 8.3, four times slower queries?