Re: Out of memory error during large hashagg

From: Casey Duncan <casey(at)pandora(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Out of memory error during large hashagg
Date: 2006-09-25 18:39:55
Message-ID: A28E0769-C72A-49E5-BE76-F817D2D6E445@pandora.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Sep 24, 2006, at 8:59 AM, Tom Lane wrote:

> Casey Duncan <casey(at)pandora(dot)com> writes:
>> seed | st_id | 164656
>
>> I ran analyze after this, but the results were roughly the same.
>
> What's the statistics target set to, and did you try increasing it?
> Can we see the rest of the pg_stats row for this column (I'm mainly
> interested in the most-common-value frequencies)?

Here's the full pg_stats row:

public | seed | st_id | 0 | 8 | 138674
|
{42151109694333522,66226913946054313,108711403296197641,1351772151143018
06,1130147629642373,1597650524892734,16434507676114329,17430059620571257
,22269564345616346,28879557667799977} |
{0.001,0.001,0.001,0.001,0.000666667,0.000666667,0.000666667,0.000666667
,0.000666667,0.000666667} |
{69337952030227,23194309459225658,44727149474281842,67399809385152536,93
773403960447474,116874916355760832,138282618203581456,141866119873210938
,145491433047267294,149167246450593786,152782384850071963} | 0.829168

I haven't tried increasing the stats target. What would be a suitable
value to try?

Thanks

-Casey

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-09-25 19:02:42 Re: Out of memory error during large hashagg
Previous Message Remy Beaumont 2006-09-25 14:40:38 BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11