From: Jens-Wolfhard Schicke <ml+pgsql-performance@asco.de>
To: Christian Paul B. Cosinas <cpc@cybees.com>
To: pgsql-performance@postgresql.org
Subject: Re: Used Memory
Date: Fri, 21 Oct 2005 09:23:28 +0200
Message-ID: <28EE02F5BBCA481B51C4E44E@[192.168.1.72]> (raw)
In-Reply-To: <00a401c5d5f1$39f661d0$1e21100a@ghwk02002147>
References: <00a401c5d5f1$39f661d0$1e21100a@ghwk02002147>
--On Freitag, Oktober 21, 2005 03:40:47 +0000 "Christian Paul B. Cosinas"
<cpc@cybees.com> wrote:
> I am having a confusion to the memory handling of postgreSQL.
> I rebooted my Server which is a PostgreSQL 8.0 Running on Redhat 9, which
> is a Dual Xeon Server and 6 gig of memory.
>
> Of course there is not much memory still used since it is just restarted.
>
> But after a number of access to the tables the memory is being used and
> it is not being free up. Actually after this access to the database and
> the server is just idle
>
> The memory is still used up. I am monitoring this using the "free"
> command which gives me about 5.5 gig of used memory and the rest free.
I suppose you looked at the top row of the free output?
Because there the disk-cache is counted as "used"... Have a look at the
second row where buffers are counted as free, which they more or less are.
> Is there something that I should do to minimize and free up the used
> memory?
No, the buffers make your database faster because they reduce direct disk
access
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.htmlI don't :)
Mit freundlichem Gruß,
Jens Schicke
--
Jens Schicke j.schicke@asco.de
asco GmbH http://www.asco.de
Mittelweg 7 Tel 0531/3906-127
38106 Braunschweig Fax 0531/3906-400
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: ml+pgsql-performance@asco.de, cpc@cybees.com
Subject: Re: Used Memory
In-Reply-To: <28EE02F5BBCA481B51C4E44E@[192.168.1.72]>
References: <00a401c5d5f1$39f661d0$1e21100a@ghwk02002147> <28EE02F5BBCA481B51C4E44E@[192.168.1.72]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox