Re: adding support for posix_fadvise()

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: adding support for posix_fadvise()
Дата
Msg-id 1067879859.2414.27.camel@fuji.krosing.net
обсуждение исходный текст
Ответ на Re: adding support for posix_fadvise()  (Neil Conway <neilc@samurai.com>)
Ответы Re: adding support for posix_fadvise()
Список pgsql-hackers
Neil Conway kirjutas E, 03.11.2003 kell 18:59:
> On Mon, 2003-11-03 at 11:11, Tom Lane wrote:
> > Why not?  The advice says that you're going to access the data
> > sequentially in the forward direction.  If you're not going to back up,
> > there is no point in keeping pages in cache after they've been read.
> 
> The advice says: "I'm going to read this data sequentially, going
> forward." It doesn't say: "I'm only going to read the data once, and
> then not access it again" (ISTM that's what FADV_NOREUSE is for).

They seem like independent features. 

Can you use combinations like ( FADV_NOREUS | FADV_SEQUENTIAL )

(I obviously have'nt read the spec)

----------------
Hannu



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: RC1 on AIX - working thus far
Следующее
От: Andrew Dunstan
Дата:
Сообщение: docco on external storage?