Re: How to clear buffer - Mailing list pgsql-general

From Gavin Flower
Subject Re: How to clear buffer
Date
Msg-id 555309F7.20401@archidevsys.co.nz
Whole thread Raw
In response to How to clear buffer  (Ravi Krishna <s.ravikrishna@aim.com>)
List pgsql-general
On 13/05/15 20:13, Ravi Krishna wrote:
> I am writing bench mark scripts and as part of it would like to clear the cache
> programmatically. This is to ensure that when we run select queries the data is
> not read read from the cache. Does PG provide any easy way to do it other than
> the obvious way to restart the database.
>
> Thanks.
>
>
Don't forget the O/S also caches things!

-Gavin


pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: How to clear buffer
Next
From: Pete Hollobon
Date:
Subject: Re: How to clear buffer