Skip site navigation (1) Skip section navigation (2)

Re: Memory context usage

From: Adriano Lange <alange0001(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Memory context usage
Date: 2009-08-29 19:18:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane escreveu:
> Adriano Lange <alange0001(at)gmail(dot)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.


In response to

pgsql-hackers by date

Next:From: Marko TiikkajaDate: 2009-08-29 23:18:34
Subject: Re: Using results from INSERT ... RETURNING
Previous:From: Jeff JanesDate: 2009-08-29 18:57:40
Subject: Re: LWLock Queue Jumping

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group