From: | Nik Tek <niktek2005(at)gmail(dot)com> |
---|---|
To: | Prabhjot Sheena <prabhjot(dot)sheena(at)rivalwatch(dot)com> |
Cc: | pgsql <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: No caching sql query |
Date: | 2013-08-22 01:05:52 |
Message-ID: | CAHySzWUes-qVwJ8PE8EtU8sa0WdQnuKCgH3_i2e7dwYeOHY=XQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Prabhjot,
You could clear the cache at the disk level, not at the db level.
Follow the link: http://linux-mm.org/Drop_Caches
You can look into the cache by using pg_buffercache, if you want to.
Hope it helps
Nik
On Wed, Aug 21, 2013 at 1:31 PM, Prabhjot Sheena <
prabhjot(dot)sheena(at)rivalwatch(dot)com> wrote:
> or is there a command to flush cache out
>
> Thx
>
>
> On Wed, Aug 21, 2013 at 1:28 PM, Prabhjot Sheena <
> prabhjot(dot)sheena(at)rivalwatch(dot)com> wrote:
>
>> Hi guys
>> Is there a way to not cache sql query that just finished
>> executing. I have a scenario in which i want to run a sql query but i don't
>> want it to sit in cache. i want it to be cleared from cache as soon as it
>> displays me the result. Is that possible
>>
>> Thanks
>>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | 高健 | 2013-08-22 02:20:43 | How to know detailed information about HOT(Heap-Only Tuples)? |
Previous Message | Sergey Konoplev | 2013-08-21 21:28:58 | Re: Strange message from pg_receivexlog |