View Single Post

   
  #7 (permalink)  
Old 04-15-2008, 11:34 PM
Markus Schiltknecht
 
Posts: n/a
Default Re: Ordered Append Node

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




---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote