some questions about buffer management

Поиск
Список
Период
Сортировка
От Cuong bui
Тема some questions about buffer management
Дата
Msg-id 200306302032.58597.xoror@infuse.org
обсуждение исходный текст
Список pgsql-hackers
hi all,

i'm progressing with my implementation of ARC to try to replace LRU.
I have the following questions:

- When do we know we have a page fault ?i've found AddBufferToFreelist() to be one. but are there other places as 
well ?

- What variable holds the number of our cache capacity ?
i'm guessing on NBuffers for now.

-How do we know we had a cache hit ?
i'm guessing ReadBuffer for know. Are there other calls as well ?

-How do i wait for a buffer tot get undirty ?

ok hope to hear from someone soon ;) 




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

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: dblink_ora - a first shot on Oracle ...
Следующее
От: Ronald Khoo
Дата:
Сообщение: 2PC: discussion in comp.arch