Memory context usage

From: Adriano Lange <alange0001(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Memory context usage
Date: 2009-08-28 02:09:47
Message-ID: 9e2ba6a80908271909n55456c98q4a48f94312454df7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

How can I get the used memory of a memory context?

Is there some function like:

int getMemoryUsage( MemoryContext )

?

I still working in a subplan cache for a query optimizer and I need to know
whether a temporary memory context is in certain limits.

Thanks

Adriano

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Mayer 2009-08-28 03:02:03 Re: 8.5 release timetable, again
Previous Message Itagaki Takahiro 2009-08-28 00:39:54 Re: [HACKERS] fillfactor hides autovacuum parameters in 8.4.0