Re: array_agg crash? - Mailing list pgsql-general

From Tom Lane
Subject Re: array_agg crash?
Date
Msg-id 15291.1248195777@sss.pgh.pa.us
Whole thread Raw
In response to Re: array_agg crash?  ("Chris Spotts" <rfusca@gmail.com>)
Responses Re: array_agg crash?
List pgsql-general
"Chris Spotts" <rfusca@gmail.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

pgsql-general by date:

Previous
From: "Chris Spotts"
Date:
Subject: Re: array_agg crash?
Next
From: Bjørn T Johansen
Date:
Subject: ERROR: could not access status of transaction 2495690984