View Single Post

   
  #5 (permalink)  
Old 04-18-2008, 09:08 AM
Mark Kirkwood
 
Posts: n/a
Default Re: Avg performance for int8/numeric

Luke Lonergan wrote:
> So, if I understand this correctly, we're calling Alloc and ContextAlloc 10
> times for every row being summed?
>
> There are approx 10M rows and the profile snippet below shows 100M calls to
> each of those.
>


Unless I've accidentally run gprof on the profile output for a 100M row
case I had lying around :-( ... I'll check

---------------------------(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