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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

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