| From: | Michael Nolan <htfoot(at)gmail(dot)com> |
|---|---|
| To: | hmidi slim <hmidi(dot)slim2(at)gmail(dot)com> |
| Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: How clear the cache on postgresql? |
| Date: | 2017-11-24 19:43:39 |
| Message-ID: | CAOzAquKTm0psfvZSwAYaQM95ebfokC0-NkZSxFgWWW8vXdBZdA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, Nov 24, 2017 at 8:54 AM, hmidi slim <hmidi(dot)slim2(at)gmail(dot)com> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John R Pierce | 2017-11-24 19:58:28 | Re: How clear the cache on postgresql? |
| Previous Message | hmidi slim | 2017-11-24 17:09:42 | Re: How clear the cache on postgresql? |