How to clear buffer

From: Ravi Krishna <s(dot)ravikrishna(at)aim(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to clear buffer
Date: 2015-05-13 08:13:48
Message-ID: 14d4c5637cb-5497-25791@webstg-m04.mail.aol.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Flower 2015-05-13 08:23:19 Re: How to clear buffer
Previous Message David G. Johnston 2015-05-13 06:46:42 Re: Dry run through input function for a given built-in data type