[prev] [index] [next]

Caching

Maintain an in-memory collection of relevant pages.

Read/write pages only when absolutely necessary.

Most commercial DBMSs do this invisibly and effectively.

The dbm system:

  • performs useful caching while a database file is open

  • throws away cache each time file is closed

Current implementation of QBIC opens/closes file for each record look-up.


[prev] [index] [next]