Re: How to clear linux file cache?

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to clear linux file cache?
Date: 2004-11-16 15:50:58
Message-ID: m3fz39hjx9.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The world rejoiced as vygen(at)gmx(dot)de (Janning Vygen) wrote:
> So how do i easily empty all page/file caches on linux (2.4.24)?

You can empty them of PostgreSQL-related data by filling them with
something else.

You might head to some directory that has more data in it than you
have memory, and "cat" the files...
--
"cbbrowne","@","linuxfinances.info"
http://www.ntlug.org/~cbbrowne/sap.html
"As far as Saddam Hussein being a great military strategist, he is
neither a strategist, nor is he schooled in the operational arts, nor
is he a tactician, nor is he a general, nor is he as a soldier. Other
than that, he's a great military man, I want you to know that."
-- General Norman Schwarzkopf, 2/27/91

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-11-16 15:53:58 Re: Last value inserted
Previous Message Stephan Szabo 2004-11-16 15:47:52 Re: Last value inserted