Re: Ordered Append Node - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Ordered Append Node
Date
Msg-id 47469ACB.9090704@bluegap.ch
Whole thread Raw
In response to Re: Ordered Append Node  (Florian Weimer <fweimer@bfk.de>)
Responses Re: Ordered Append Node  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: Ordered Append Node  (Florian Weimer <fweimer@bfk.de>)
List pgsql-hackers
Hi,

Florian Weimer wrote:
>> Florian Weimer wrote:
>>> I think you need it because there are potentially many input types.
> 
> Eh, "tapes".

Aha..

>> Given the partitioning case, I'd expect all rows to have an equal
>> tuple descriptor. Maybe this is a matter of what to optimize, then?
>>
>> Could you elaborate on what use case you have in mind?
> 
> You need a priority queue to figure out from which tape (partition)
> you need to remove the next tuple.

And why do you need lots of heap memory to do that? Anything wrong with 
the zipper approach I've outlined upthread?

Am I missing something?

Regards

Markus





pgsql-hackers by date:

Previous
From: Florian Weimer
Date:
Subject: Re: Ordered Append Node
Next
From: Heikki Linnakangas
Date:
Subject: Re: Ordered Append Node