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

Re: Free Cache Memory (Linux) and Postgresql

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Denis Gasparin <denis(at)edistar(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Free Cache Memory (Linux) and Postgresql
Date: 2008-09-30 22:02:32
Message-ID: 20080930220232.GA16909@svana.org (view raw or flat)
Thread:
Lists: pgsql-general
On Tue, Sep 30, 2008 at 03:51:44PM +0200, Denis Gasparin wrote:
> It seems like postgres or the operating system (linux) is keeping in
> cache that old data even if it has been deleted.

Just remember: "free memory" is "memory you paid for and are not
using" == "wasted memory". The OS knows damn well it's not important
and will throw it out if necessary, but it costs nothing to keep it.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.

In response to

Responses

pgsql-general by date

Next:From: Alan HodgsonDate: 2008-09-30 22:20:09
Subject: Re: Why Does UPDATE Take So Long?
Previous:From: Scott MarloweDate: 2008-09-30 21:57:34
Subject: Re: Why Does UPDATE Take So Long?

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