reset password
Author Message
se1k1h1mawar1
Posts: 121
Posted 18:31 Nov 23, 2015 |

Dr. Sun,

I know you have explained this in class, but just to make sure I understood it correctly, when there are multiple transactions that are pinned to a page in the buffer pool, we only record the first pin time for FIFO and first unpin time for LRU, is that correct? Thank you in advance,

cysun
Posts: 2935
Posted 23:25 Nov 23, 2015 |

Yes for FIFO. For LRU there's only one unpin time.

se1k1h1mawar1
Posts: 121
Posted 20:58 Nov 24, 2015 |
cysun wrote:

Yes for FIFO. For LRU there's only one unpin time.

I see. So unpinning is distinguished from decrementing the pincount.

Thank you!