Re: Memory usage during sorting

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Memory usage during sorting
Дата
Msg-id CAM-w4HNQh8b8qw5ziL5pYfCe16iVEKV8DzQffn=7csvpf1GQzg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Memory usage during sorting  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Memory usage during sorting
Re: Memory usage during sorting
Список pgsql-hackers
On Tue, Mar 20, 2012 at 1:57 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> That was a long time ago, of course, but I have some vague recollection
> that keeping next-run tuples in the current heap achieves a net savings
> in the total number of comparisons needed to heapify both runs.

Offhand I wonder if this is all because we don't have the O(n) heapify
implemented.

-- 
greg


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

Предыдущее
От: Marco Nenciarini
Дата:
Сообщение: Re: Error trying to compile a simple C trigger
Следующее
От: Asif Naeem
Дата:
Сообщение: Re: Error trying to compile a simple C trigger