Re: Performance Tuning and Disk Cache

From: Michael Stone <mstone+postgres(at)mathom(dot)us>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance Tuning and Disk Cache
Date: 2007-03-18 18:49:06
Message-ID: 20070318184904.GL25629@mathom.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2007-03-19 04:07:41 Re: function call vs staright query
Previous Message Rangarajan Vasudevan 2007-03-18 18:22:30 Re: Performance Tuning and Disk Cache