From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jeff Davis <list-pgsql-general(at)empires(dot)org> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Oracle SGA like feature??? |
Date: | 2002-10-03 04:11:48 |
Message-ID: | 200210030411.g934BmB01758@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Jeff Davis wrote:
> > >
> > > Wouldn't it be pretty easy to run postgres through a process that has a
> > > setrlimit on the memory? I assume that postgres handles memory errors
> > > gracefully. I think the shared memory limit combined with setrlimit would
> > > give him what he needs.
> >
> > Yes, you could do that. Of course, a backend that exceeds it is going
> > to die, but it seems that's what he wants.
>
> Can postgres handle out-of-memory errors gracefully? I don't even know if it
> would really make sense, but I suppose it could just give an error and
> ROLLBACK the current transaction. If it had a minimal amount of memory (just
> enough to perform basic tasks) to work with it seems that it could handle it
> a little bit gracefully. Although this might be tough to do in a
> cross-platform way.
Out of memory throws FATAL, which just exits the backend.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2002-10-03 06:42:18 | Re: data replication |
Previous Message | Tom Lane | 2002-10-03 03:32:40 | Re: [HACKERS] Anyone want to assist with the translation of the |