>I'd rather see us implement a buffer replacement policy that considers
>both frequency + recency (unlike LRU, which considers only recency).
>Ideally, that would work "automagically". I'm hoping to get a chance to
>implement ARC[1] during the 7.5 cycle.
Actually i've already done some work back in august. I tried to
implement ARC in pgsql but failed to due to lack of time. After
renewed discussion with Bruce and Jan, i've decided to give it another
try. So hopefully w'll have a patch soon from me or Jan.
The algorithm itself is very elegant and works "automagically".
--
Cuong Bui
Loki IT Solutions
http://www.lokishop.nl
Powers your webcommerce!