Question: Implement a disk-based buffer pool class based on the LRU buffer pool replacement strategy. Disk blocks are numbered consecutively from the beginning of the file
Implement a disk-based buffer pool class based on the LRU buffer pool replacement strategy. Disk blocks are numbered consecutively from the beginning of the file with the first block numbered as 0. Assume that blocks are 4096 bytes in size, with the first 4 bytes used to store the block ID corresponding to that buffer. Use the first BufferPool abstract class given in Section 8.3 as the basis for your implementation.
Step by Step Solution
3.51 Rating (148 Votes )
There are 3 Steps involved in it
To implement a diskbased buffer pool class based on the LRU Least Recently Used buffer pool replacement strategy well use the provided BufferPool abstract class as the basis for our implementation Wel... View full answer
Get step-by-step solutions from verified subject matter experts
