pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@gmail.com>
To: Barry Moore <barry.moore@genetics.utah.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance Tuning and Disk Cache
Date: Sun, 18 Mar 2007 14:18:19 +0100
Message-ID: <9e4684ce0703180618m33fe9ec4v3007a673d28df591@mail.gmail.com> (raw)
In-Reply-To: <1862C4AD-EB83-4D58-B1F2-45BDC47E5608@genetics.utah.edu>
References: <1862C4AD-EB83-4D58-B1F2-45BDC47E5608@genetics.utah.edu>

On 3/18/07, Barry Moore <barry.moore@genetics.utah.edu> 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)?

try to disconnect from postgresql, reconnect, rerun the query.
if it doesn't help - you can try unmounting filesystem which contains
postgresql data, and remounting it again. of course with postgresql
shutdown.

depesz

-- 
http://www.depesz.com/ - nowy, lepszy depesz



view thread (5+ messages)  latest in thread

Message-ID: <9e4684ce0703180618m33fe9ec4v3007a673d28df591@mail.gmail.com>
Permalink:  ../9e4684ce0703180618m33fe9ec4v3007a673d28df591@mail.gmail.com/
Also on:    postgresql.org/message-id/9e4684ce0703180618m33fe9ec4v3007a673d28df591@mail.gmail.com

 · 

reply

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: depesz@gmail.com, barry.moore@genetics.utah.edu
  Subject: Re: Performance Tuning and Disk Cache
  In-Reply-To: <9e4684ce0703180618m33fe9ec4v3007a673d28df591@mail.gmail.com>

* 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