Re: clearing the buffer cache

From: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: clearing the buffer cache
Date: 2009-02-13 17:52:21
Message-ID: 1234547541.6432.7.camel@bnicholson-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2009-02-13 at 17:49 +0000, Sam Mason wrote:
> Hi,
>
> I was doing some performance checks and wondered what the best way to
> clear out the shared buffers is? With the recent improvements in buffer
> management it appears a simple SELECT * FROM large_table; doesn't help
> here!
>
> I was hoping for a function I could call, or maybe some variable I write
> to, that would cause the contents to be invalidated.

Restart the database.
--
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-02-13 18:09:51 Re: clearing the buffer cache
Previous Message Ivan Sergio Borgonovo 2009-02-13 17:49:52 Re: [findings] minimal open source e-commerce software for pg