Buffer Management



next up previous
Next: Up: File & System Previous: Data Dictionary Storage

Buffer Management

  1. The buffer manager must use some sophisticated techniques in order to provide good service:
  2. Replacement Strategy: Goal is minimization of accesses to disk. Generally it is hard to predict which blocks will be referenced. So operating systems use the history of past references as a guide to prediction.
  3. LRU is acceptable in operating systems, however, a database system is able to predict future references more accurately.

  4. Consider processing of the relational algebra expression

  5. Further, assume the strategy to process this request is given by the following pseudo-code:

  6. Assume that the two relations in this example are stored in different files.
  7. The buffer manager may also use statistical information regarding the probability that a request will reference a particular relation.





next up previous
Next: Up: File & System Previous: Data Dictionary Storage



Page created and maintained by Osmar R. Zaï ane
Last Update: Tue Oct 31 12:59:25 PST 1995