Re: clearing the buffer cache

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: clearing the buffer cache
Date: 2009-02-13 18:13:36
Message-ID: C5BB0660.B08D1%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Isn't there anything faster than this?
>
> I was hoping to run many thousands of small (i.e. 100ms or less) queries
> and if it takes a couple of seconds to restart the database I'm not
> going to be able to do this.

Are you forgetting the OS's file system cache? That will also have a huge
effect on performance, and so you'll need to clear it as well.

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-02-13 18:19:16 Re: clearing the buffer cache
Previous Message Sam Mason 2009-02-13 18:13:21 Re: clearing the buffer cache