Re: Overriding the optimizer

Поиск
Список
Период
Сортировка
От Kevin Brown
Тема Re: Overriding the optimizer
Дата
Msg-id 20051216052025.GB691@filer
обсуждение исходный текст
Ответ на Re: Overriding the optimizer  ("Craig A. James" <cjames@modgraph-usa.com>)
Ответы Re: Overriding the optimizer
Re: Overriding the optimizer
Список pgsql-performance
Craig A. James wrote:
> Hints are dangerous, and I consider them a last resort.

If you consider them a last resort, then why do you consider them to
be a better alternative than a workaround such as turning off
enable_seqscan, when all the other tradeoffs are considered?

If your argument is that planner hints would give you finer grained
control, then the question is whether you'd rather the developers
spend their time implementing planner hints or improving the planner.
I'd rather they did the latter, as long as workarounds are available
when needed.  A workaround will probably give the user greater
incentive to report the problem than use of planner hints.


--
Kevin Brown                          kevin@sysexperts.com

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

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: Overriding the optimizer
Следующее
От: "Craig A. James"
Дата:
Сообщение: Re: Overriding the optimizer