Re: How to clear buffer

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: Ravi Krishna <s(dot)ravikrishna(at)aim(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to clear buffer
Date: 2015-05-13 08:23:19
Message-ID: 555309F7.20401@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pete Hollobon 2015-05-13 08:38:25 Re: How to clear buffer
Previous Message Ravi Krishna 2015-05-13 08:13:48 How to clear buffer