Re: Slow query: bitmap scan troubles

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Slow query: bitmap scan troubles
Дата
Msg-id 20121204190920.142860@gmx.com
обсуждение исходный текст
Ответ на Slow query: bitmap scan troubles  (<postgresql@foo.me.uk>)
Список pgsql-performance
postgresql@foo.me.uk wrote:

> Ah okay, thanks. I knew I could set various things but not
> effective_work_mem (I tried reloading the edited config file but
> it didn't seem to pick it up)

Check the server log, maybe there was a typo or capitalization
error.

To test on a single connection you should be able to just run:

SET effective_cache_size = '88GB';

By the way, one other setting that I have found a need to adjust to
get good plans is cpu_tuple_cost. In my experience, better plans
are chosen when this is in the 0.03 to 0.05 range than with the
default of 0.01.

-Kevin


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

Предыдущее
От:
Дата:
Сообщение: Re: Slow query: bitmap scan troubles
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: Slow query: bitmap scan troubles