Re: cpu_tuple_cost

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cpu_tuple_cost
Дата
Msg-id 5580.1110781746@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cpu_tuple_cost  (Daniel Schuchardt <daniel_schuchardt@web.de>)
Ответы Re: cpu_tuple_cost  ("Greg Sabino Mullane" <greg@turnstep.com>)
Re: cpu_tuple_cost  (Daniel Schuchardt <daniel_schuchardt@web.de>)
Список pgsql-performance
Daniel Schuchardt <daniel_schuchardt@web.de> writes:
> i have a query plan who is bad with standard cpu_tuple_costs and good if
> I raise cpu_tuple_costs. Is it is a good practice to raise them if i
> want to force postgres to use indexes more often?

Reducing random_page_cost is usually the best way to get the planner to
favor indexscans more.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] How to read query plan
Следующее
От: Gourish Singbal
Дата:
Сообщение: column name is "LIMIT"