From: Michael Stone <mstone+postgres@mathom.us>
To: pgsql-performance@postgresql.org
Subject: Re: Performance Tuning and Disk Cache
Date: Sun, 18 Mar 2007 14:49:06 -0400
Message-ID: <20070318184904.GL25629@mathom.us> (raw)
In-Reply-To: <1862C4AD-EB83-4D58-B1F2-45BDC47E5608@genetics.utah.edu>
References: <1862C4AD-EB83-4D58-B1F2-45BDC47E5608@genetics.utah.edu>
On Sun, Mar 18, 2007 at 06:45:34AM -0600, Barry Moore wrote:
>Does anyone know how I can repeatedly run the same query in the
>"worst case scenario" of no postgres data in the disk cache (e.g.,
>clear the page cache or force it to be ignored)?
Depends on your OS. On linux you can run:
echo 1 > /proc/sys/vm/drop_caches
Mike Stone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mstone+postgres@mathom.us
Subject: Re: Performance Tuning and Disk Cache
In-Reply-To: <20070318184904.GL25629@mathom.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox