Re: polyphase merge?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: polyphase merge?
Дата
Msg-id 2316.1233760846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: polyphase merge?  (Don Marvick <donmarvick@gmail.com>)
Ответы Re: polyphase merge?
Список pgsql-hackers
Don Marvick <donmarvick@gmail.com> writes:
> Since nobody replied, I would give it a try. I am going to implement the
> merge pattern described in Knuth Page 365 (5.4.9), essentially it is as
> follow:
> - create initial runs using replacement selection (basically this is as in
> the current implementation)
> - add enough dummy runs of size 0 so that the number of sorted run minus one
> can be divided by k-1 (k is merge fan in)
> - repetitively merge k smallest runs until only 1 run left

How is this better than, or even different from, what is there now?
        regards, tom lane


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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: add_path optimization
Следующее
От: Rick Vernam
Дата:
Сообщение: Re: LIMIT NULL