Re: Odd out of memory problem. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Odd out of memory problem.
Date
Msg-id 12927.1332782147@sss.pgh.pa.us
Whole thread Raw
In response to Re: Odd out of memory problem.  (Greg Stark <stark@mit.edu>)
Responses Re: Odd out of memory problem.
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> I have a sketch for how to handle spilling hash aggregates to disk in
> my head. I'm not sure if it's worth the amount of complexity it would
> require but I'll poke around a bit and see if it works out well.

It'd be awfully nice if those could spill to disk.  I think that
currently that's the only plan type where a misestimate can lead to
hard failure rather than just slower-than-you'd-like.  Which is not
nice considering that the estimates are necessarily just estimates.

Could you give us a brain dump on the sketch?  I've never seen how to
do it without unreasonable overhead.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Odd out of memory problem.
Next
From: Andrew Dunstan
Date:
Subject: Re: Odd out of memory problem.