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

Re: Does RelCache/SysCache shrink except when relations are deleted?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: MauMau <maumau307(at)gmail(dot)com>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Does RelCache/SysCache shrink except when relations are deleted?
Date: 2011-09-29 12:53:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Excerpts from MauMau's message of jue sep 29 09:23:48 -0300 2011:

> The amount of physical memory is 8GB, which is enough for the workload. I 
> asked the customer for the output of "SHOW ALL", but I haven't received it 
> yet. However, shared_buffers should be less than 1.6GB because, as I wrote 
> in the previous mail, top command showed 1.6GB in "VIRT" column before 
> executing somefunc() PL/pgSQL function.

You don't really know this; some operating systems (Linux in particular)
does not show shared memory as in use by a process until it is accessed.
It may very well have well over 1.6 GB of shared_buffers, yet not show
that in VIRT.

Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2011-09-29 12:56:09
Subject: Re: pg_upgrade - add config directory setting
Previous:From: Dickson S. GuedesDate: 2011-09-29 12:45:55
Subject: Re: Feature proposal: www_fdw

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