Re: query optimization

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: query optimization
Дата
Msg-id 4F994C5A02000025000473FD@gw.wicourts.gov
обсуждение исходный текст
Ответ на query optimization  (Richard Kojedzinszky <krichy@tvnetwork.hu>)
Список pgsql-performance
Richard Kojedzinszky <krichy@tvnetwork.hu> wrote:

> tuning our installation to not to use sequence scans in this case?

Make sure effective_cache_size is set to the sum of shared_buffers
and whatever your OS shows as usable for caching.  Try adjusting
cost factors: maybe random_page_cost between 1 and 2, and
cpu_tuple_cost between 0.03 and 0.05.

-Kevin

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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Weird plan variation with recursive CTEs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: query optimization