Re: a lot of problems with pg 7.4

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: a lot of problems with pg 7.4
Дата
Msg-id Pine.LNX.4.44.0312141809580.10157-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на a lot of problems with pg 7.4  (Kari Lavikka <tuner@bdb.fi>)
Список pgsql-performance
On Sat, 13 Dec 2003, Kari Lavikka wrote:

> I evaluated pg 7.4 on our development server and it looked just fine
> but performance with production loads seems to be quite poor. Most of
> performance problems are caused by nonsensical query plans

Some of the estimates that pg made in the plans you showed was way off. I
assume you have run VACUUM ANALYZE recently? If that does not help maybe
you need to increaste the statistics gathering on some columns so that pg
makes better estimates. With the wrong statistics it's not strange that pg
chooses bad plans.

--
/Dennis


В списке pgsql-performance по дате отправления:

Предыдущее
От: Tarhon-Onu Victor
Дата:
Сообщение: Re: a lot of problems with pg 7.4
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Tuning for mid-size server