"Chris Spotts" <rfusca(at)gmail(dot)com> writes:
>>> killed
>>> it after 15 minutes and no results...rather I tried to kill it, but
>>> it looks like I'm going to have to -9 it...
>>
>> How big were the arrays you were trying to push around here?
> Like I'd said originally, there were no arrays that ended up being more 4
> elements long - all integers. The vast majority of them were 1 or 2 long.
Hm, maybe the problem is not so much array size as too many arrays. How
many groups are you expecting in that query? Does the plan for the
array_agg query show hash or group aggregation?
regards, tom lane