Re: How to clear linux file cache? - Mailing list pgsql-general

From Doug McNaught
Subject Re: How to clear linux file cache?
Date
Msg-id 87oehxssz6.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to How to clear linux file cache?  (Janning Vygen <vygen@gmx.de>)
Responses Re: How to clear linux file cache?
List pgsql-general
Janning Vygen <vygen@gmx.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

pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: How to deal with almost recurring data?
Next
From: Richard Huxton
Date:
Subject: Re: How to deal with almost recurring data?