Re: Memory usage after upgrade to 9.2.4

From: Tomas Vondra <tv(at)fuzzy(dot)cz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Memory usage after upgrade to 9.2.4
Date: 2013-04-21 14:43:42
Message-ID: 5173FB1E.2050004@fuzzy.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21.4.2013 15:14, Tom Lane wrote:
> Tomas Vondra <tv(at)fuzzy(dot)cz> writes:
>> I do have a log with the memory context info printed after the OOM
>> killed the session - see it attached.
>
> The only thing that seems rather bloated is the CacheMemoryContext,
> which seems to be because the backend has cached info about several
> thousand tables and indexes. Given that you say there's 9500 relations
> in their schema, it's hard to believe that 9.2.4 is suddenly doing that
> where 9.2.3 didn't. I'm wondering if they've done something else that
> restricted the amount of memory available to a backend.

My thoughts, exactly. I can't really compare the CacheMemoryContext to
the 9.1.3, as I have no data from that version. So maybe it really did
not change, but something else obviously did.

I'm not aware of any other changes, but I'll verify that.

Tomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Cristian Cruz 2013-04-21 14:50:47 Re: Memory usage after upgrade to 9.2.4
Previous Message Adrian Klaver 2013-04-21 14:35:07 Re: Memory usage after upgrade to 9.2.4