Re: array_agg crash?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris Spotts" <rfusca(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: array_agg crash?
Date: 2009-07-21 17:02:57
Message-ID: 15291.1248195777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjørn T Johansen 2009-07-21 17:05:57 ERROR: could not access status of transaction 2495690984
Previous Message Chris Spotts 2009-07-21 16:57:10 Re: array_agg crash?