Re: Short-circuit sort_inner_and_outer if there are no mergejoin clauses

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Short-circuit sort_inner_and_outer if there are no mergejoin clauses
Дата
Msg-id CAMbWs487hyWXfiqLqeHsXWA1svvBJ=24D0jRDYWb6BogHM4gpA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Short-circuit sort_inner_and_outer if there are no mergejoin clauses  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
On Fri, Apr 26, 2024 at 2:57 PM Richard Guo <guofenglinux@gmail.com> wrote:
> I doubt that there is measurable performance improvement.  But I found
> that throughout the run of the regression tests, sort_inner_and_outer is
> called a total of 44,424 times.  Among these calls, there are 11,064
> instances where mergeclause_list is found to be empty.  This accounts
> for ~1/4.  I think maybe this suggests that it's worth the shortcut as
> the patch does.

Pushed.

Thanks
Richard



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