Re: How to clear linux file cache?

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Janning Vygen <vygen(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to clear linux file cache?
Date: 2004-11-16 15:39:57
Message-ID: 87oehxssz6.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Janning Vygen <vygen(at)gmx(dot)de> writes:

> So how do i easily empty all page/file caches on linux (2.4.24)?

Probably the closest you can easily get is to put the Postgres data
files on their own partition, and unmount/remount that partition
before running yuour tests. Unmounting will sync and throw away all
cached file data for that partition.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message gunmuse 2004-11-16 15:40:57 Re: DBManager 3.0
Previous Message Csaba Nagy 2004-11-16 15:32:27 Re: How to deal with almost recurring data?