Re: Bug: Buffer cache is not scan resistant - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Bug: Buffer cache is not scan resistant
Date
Msg-id e51f66da0703070049v25d6fbf0ge56ff12a77ec7451@mail.gmail.com
Whole thread Raw
In response to Re: Bug: Buffer cache is not scan resistant  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
On 3/7/07, Hannu Krosing <hannu@skype.net> wrote:
> Do any of you know about a way to READ PAGE ONLY IF IN CACHE in *nix
> systems ?

Supposedly you could mmap() a file and then do mincore() on the
area to see which pages are cached.

But you were talking about postgres cache before, there it should
be easily implementable.

-- 
marko


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: PostgreSQL - 'SKYLINE OF' clause added!
Next
From: Peter Eisentraut
Date:
Subject: Re: Auto creation of Partitions