Re: slow query

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: slow query
Дата
Msg-id 1046105913.1014.66.camel@camel
обсуждение исходный текст
Ответ на Re: slow query  (Oleg Lebedev <oleg.lebedev@waterford.org>)
Ответы Re: slow query  (Clarence Gardner <clarence@silcom.com>)
Список pgsql-performance
On Mon, 2003-02-24 at 10:59, Oleg Lebedev wrote:
> Thanks everybody for your help.
> VACUUM FULL did the job, and now the query performance is the same in
> both databases. I am surprised that FULL option makes such a dramatic
> change to the query performance: from 4min. to 5sec.!!! It also changed
> planner stats from ~9 sec to ~8sec.

If your seeing wildly dramatic improvments from vacuum full, you might
want to look into running regular vacuums more often (especially for
high turnover tables), increase your max_fsm_relations to 1000, and
increasing your max_fsm_pages.

Robert Treat



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

Предыдущее
От: Oleg Lebedev
Дата:
Сообщение: Re: slow query
Следующее
От: Oleg Lebedev
Дата:
Сообщение: Re: slow query