Re: Hints proposal

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Hints proposal
Дата
Msg-id 1160673340.28751.83.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: Hints proposal  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Hints proposal  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-performance
> I'm not suggesting that we do that, but it seems better then embedding
> the hints in the queries themselves.

OK, what about this: if I execute the same query from a web client, I
want the not-so-optimal-but-safe plan, if I execute it asynchronously, I
let the planner choose the
best-overall-performance-but-sometimes-may-be-slow plan ?

What kind of statistics/table level hinting will get you this ?

I would say only query level hinting will buy you query level control.
And that's perfectly good in some situations.

I really can't see why a query-level hinting mechanism is so evil, why
it couldn't be kept forever, and augmented with the possibility of
correlation hinting, or table level hinting.

These are really solving different problems, with some overlapping...

Cheers,
Csaba.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Hints proposal
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: FW: Simple join optimized badly?