Re: Shouldn't we have a way to avoid "risky" plans?

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: Shouldn't we have a way to avoid "risky" plans?
Дата
Msg-id AANLkTimD174+muSzfg4FGfat26V2ebEsDw7f9sLcwBR7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Shouldn't we have a way to avoid "risky" plans?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Shouldn't we have a way to avoid "risky" plans?  (Scott Carey <scott@richrelevance.com>)
Список pgsql-performance
On Wed, Mar 23, 2011 at 6:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Claudio Freire <klaussfreire@gmail.com> writes:
>> In my head, safer = better worst-case performance.
>
> If the planner starts operating on the basis of worst case rather than
> expected-case performance, the complaints will be far more numerous than
> they are today.

I imagine, that's why, if you put my comment in context, I was talking
about picking a safer plan only when the "better on average one" fails
miserably.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Shouldn't we have a way to avoid "risky" plans?
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: Slow query on CLUTER -ed tables