Re: [Fwd: Re: GEQO randomness?]

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: [Fwd: Re: GEQO randomness?]
Дата
Msg-id 20081105113002.GB18367@polonium.part.net
обсуждение исходный текст
Ответ на [Fwd: Re: GEQO randomness?]  (Eric Schwarzenbach <Eric.J.Schwarzenbach.C88@alumni.upenn.edu>)
Список pgsql-general
On Fri, Oct 31, 2008 at 06:57:25PM -0400, Eric Schwarzenbach wrote:
>
> My problem with GEQO using a random number generator is that
> non-deterministic behavior is really hard to debug, and problems can go
> undiagnosed for ages. Frankly I would rather something fail all the
> time, than it work most of the time and fail just now and then. Never
> getting a good plan for a query would be an improvement because I would
> immediately be aware there's a problem and be forced to something about
> it, as opposed to maybe realizing there is going to *sometimes* be a
> problem.

Randomness is an integral part of all kinds of algorithms designed to
solve really hard problems in reasonable time, like GEQO. Such
algorithms show up all the time in data modeling and optimization
problems.

- Josh / eggyknap

Вложения

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

Предыдущее
От: Joshua Tolley
Дата:
Сообщение: Re: Equivalent for AUTOINCREMENT?
Следующее
От: "Abraham, Danny"
Дата:
Сообщение: COPY TO duplicates "\" signs