Re: Polyphase merge is obsolete

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Polyphase merge is obsolete
Дата
Msg-id CAM3SWZR4MQbXFuT1Q+TyRYSPbNVkHsMx+SfVQnHqFLi6tNQoAw@mail.gmail.com
обсуждение исходный текст
Ответ на Polyphase merge is obsolete  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Wed, Oct 12, 2016 at 10:16 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> Let's switch over to a simple k-way balanced merge. Because it's simpler. If
> you're severely limited on memory, like when sorting 1GB of data with
> work_mem='1MB' or less, it's also slightly faster. I'm not too excited about
> the performance aspect, because in the typical case of a single-pass merge,
> there's no difference. But it would be worth changing on simplicity grounds,
> since we're mucking around in tuplesort.c anyway.

This analysis seems sound. I suppose we might as well simplify things
while we're at it.


-- 
Peter Geoghegan



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Remove spurious word.
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_basebackup stream xlog to tar