Re: Postgres 8.3, four times slower queries?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Postgres 8.3, four times slower queries?
Дата
Msg-id 603c8f070903051115h58643593rb5f6301f3d5cf988@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgres 8.3, four times slower queries?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список 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 по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Postgres 8.3, four times slower queries?
Следующее
От: Aaron Guyon
Дата:
Сообщение: Re: Postgres 8.3, four times slower queries?