Re: Used Memory

From: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Used Memory
Date: 2005-10-21 08:08:16
Message-ID: 011501c5d616$97766330$1e21100a@ghwk02002147
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Also Does Creating Temporary table in a function and not dropping them
affects the performance of the database?

-----Original Message-----
From: Jens-Wolfhard Schicke [mailto:ml+pgsql-performance(at)asco(dot)de]
Sent: Friday, October 21, 2005 7:23 AM
To: Christian Paul B. Cosinas; pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] Used Memory

--On Freitag, Oktober 21, 2005 03:40:47 +0000 "Christian Paul B. Cosinas"
<cpc(at)cybees(dot)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.html
I don't :)

Mit freundlichem Gruß,
Jens Schicke
--
Jens Schicke j(dot)schicke(at)asco(dot)de
asco GmbH http://www.asco.de
Mittelweg 7 Tel 0531/3906-127
38106 Braunschweig Fax 0531/3906-400

I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Martin Nickel 2005-10-21 08:51:56 Re: Sequential scan on FK join
Previous Message Christian Paul B. Cosinas 2005-10-21 08:02:40 Re: Used Memory