Re: Page replacement algorithm in buffer cache - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Page replacement algorithm in buffer cache
Date
Msg-id 007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com
Whole thread Raw
In response to Re: Page replacement algorithm in buffer cache  (Atri Sharma <atri.jiit@gmail.com>)
List pgsql-hackers
On Friday, March 22, 2013 4:36 PM Atri Sharma wrote:
> >
> > What would you do if the only young page has usage count zero during
> second
> > sweep.
> 
> Umm....The same approach we take when there is no page with usage
> count zero in a sweep in the current algorithm?

It would give more priority to young page as compare to more used page.
I don't know if that would be correct thing to do.

With Regards,
Amit Kapila.




pgsql-hackers by date:

Previous
From: Atri Sharma
Date:
Subject: Re: Page replacement algorithm in buffer cache
Next
From: Atri Sharma
Date:
Subject: Re: Page replacement algorithm in buffer cache