Re: planer chooses very bad plan

Поиск
Список
Период
Сортировка
От Corin
Тема Re: planer chooses very bad plan
Дата
Msg-id 4BC250B1.5010301@gmail.com
обсуждение исходный текст
Ответ на Re: planer chooses very bad plan  (Luke Lonergan <LLonergan@greenplum.com>)
Список pgsql-performance
On 11.04.2010 23:22, Luke Lonergan wrote:
> Try random_page_cost=100
>
Increasing random_page_const to 100 (it was 2.5 before) did not help,
but lowering it <=1.5 helped.

As almost the whole dataset fit's into memory, I think I'll change it
permanently to 1.5 (seq_page is 1.0).

I'll also increase the default_statistics to 1000, because this also
seems to help a lot.

Thanks,
Corin


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

Предыдущее
От: Corin
Дата:
Сообщение: Re: planer chooses very bad plan
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: planer chooses very bad plan