Beat Signer - Department of Computer Science -
[email protected]
26 April 19, 2013
Buffer Replacement Strategies ...
We further assume that the two relations order and
customer are stored in separate files
From the pseudocode we can see that
once an order tuple has been processed, it is not needed
anymore
-if a whole block of order tuples has been processed, that block is no longer
required in memory (but an LRU strategy might keep it)
-as soon as the last tuple of an order block has been processed, the buffer
manager should free the memory space toss-immediate strategy
once a customer tuple has been processed, it is not accessed
again until all the other customer tuples have been accessed
-when the processing of a customer block has been finished, the least recently
used customer block will be requested next
-we should replace the block that has been most recently used (MRU)