Re: Oracle SGA like feature???

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Oracle SGA like feature???
Дата
Msg-id 200210022006.30502.list-pgsql-general@empires.org
обсуждение исходный текст
Ответ на Re: Oracle SGA like feature???  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Oracle SGA like feature???
Список pgsql-general
> >
> > 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.

Regards,
    Jeff Davis


В списке pgsql-general по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Oracle SGA like feature???
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Oracle SGA like feature???