Re: Query much faster with enable_seqscan=0

Поиск
Список
Период
Сортировка
От Jesper Krogh
Тема Re: Query much faster with enable_seqscan=0
Дата
Msg-id 4C98FEA2.8030607@krogh.cc
обсуждение исходный текст
Ответ на Re: Query much faster with enable_seqscan=0  (Ogden <lists@darkstatic.com>)
Ответы Re: Query much faster with enable_seqscan=0
Список pgsql-performance
On 2010-09-21 20:21, Ogden wrote:
> I assume you mean random_page_cost? It is currently set to 4.0 - is it better to increase or decrease this value?
>

Should be lowered to a bit over seq_page_cost..  and more importantly..
you should
make sure that you have updated your statistics .. run "ANALYZE";

--
Jesper

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

Предыдущее
От: Ogden
Дата:
Сообщение: Re: Query much faster with enable_seqscan=0
Следующее
От: Ogden
Дата:
Сообщение: Re: Query much faster with enable_seqscan=0