Re: How clear the cache on postgresql? - Mailing list pgsql-general

From Michael Nolan
Subject Re: How clear the cache on postgresql?
Date
Msg-id CAOzAquKTm0psfvZSwAYaQM95ebfokC0-NkZSxFgWWW8vXdBZdA@mail.gmail.com
Whole thread Raw
In response to How clear the cache on postgresql?  (hmidi slim <hmidi.slim2@gmail.com>)
Responses Re: How clear the cache on postgresql?  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On Fri, Nov 24, 2017 at 8:54 AM, hmidi slim wrote: > I'm trying to analyze some queries using the explain instructions and the > option analyze and buffers. I realized that the query refers to the cache > memory to return the results. Is there any solution to clear the cache in > postgresql inorder to get execution time of the query when it get data from > disk and not from cache memory? > There are so many different levels of caching going on--within Postgresql, within the OS, within a disk array or SAN, and at the individual drive--that there may no longer be a meaningful way to perform this measurement. -- Mike Nolan

pgsql-general by date:

Previous
From: hmidi slim
Date:
Subject: Re: How clear the cache on postgresql?
Next
From: John R Pierce
Date:
Subject: Re: How clear the cache on postgresql?