Re: Memory context usage

Поиск
Список
Период
Сортировка
От Adriano Lange
Тема Re: Memory context usage
Дата
Msg-id 4A997F09.40109@gmail.com
обсуждение исходный текст
Ответ на Re: Memory context usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane escreveu:
> Adriano Lange <alange0001@gmail.com> writes:
>> I need to control the size of a memory context on the fly and take
>> some actions when
>> the used memory exceeds a defined size.
> 
> The existing places that do that sort of thing do their own counting
> of how much they've allocated.

I have seen that the AllocSet structure is hid by MemoryContext which 
has only a stderr output interface for its stats. I would need these 
stats internally but maybe this is only my demand for now.

Thanks for attention.

Adriano


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: LWLock Queue Jumping
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Using results from INSERT ... RETURNING