Re: [sqlsmith] Failed to generate plan on lateral subqueries

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [sqlsmith] Failed to generate plan on lateral subqueries
Дата
Msg-id CAHyXU0ymxhn06WbAW6CkD95cSOA9=pzA6QF4z1QBgnO8AAsM3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [sqlsmith] Failed to generate plan on lateral subqueries  (Andreas Seltenreich <seltenreich@gmx.de>)
Список pgsql-hackers
On Thu, Dec 10, 2015 at 4:55 AM, Andreas Seltenreich <seltenreich@gmx.de> wrote:
> Tom Lane writes:
>
>> Merlin Moncure <mmoncure@gmail.com> writes:
>>> Aside from the functional issues, could your changes result in
>>> performance regressions?
> [...]
>> It's a little bit harder to gauge the impact on planner speed.  The
>> transitive closure calculation could be expensive in a query with many
>> lateral references, but that doesn't seem likely to be common; and anyway
>> we'll buy back some of that cost due to simpler tests later.  I'm
>> optimistic that we'll come out ahead in HEAD/9.5 after the removal
>> of LateralJoinInfo setup.  It might be roughly a wash in the back
>> branches.
>
> On the empirical side: I see a speedup of 0.4% in testing speed with the
> patch applied.  It could very well be me venting the room one additional
> time during the second session, resulting in the CPUs spending more time
> in their opportunistic frequency range or something.

Really...wow.  That satisfies me.   You ought to be commended for
sqlsmith -- great stuff.

merlin



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Is postgresql on Windows compatible with flex 2.6.0?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Rework the way multixact truncations work