2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm
Theodore J. Johnson, Dennis E. Shasha · 1994
In a path-breaking paper last year Pat and Betty O'Neil and Gerhard Weikum proposed a self-tuning improvement to the Least Recently Used (LRU) buffer management algorithm[15]. Their improvement is called LRU/k and advocates giving priority to buffer pages based on the kth most recent access. (The standard LRU algorithm is denoted LRU/1 according to this terminology.) If P1's kth most recent access is more more recent than P2's, then P1 will be replaced after P2. Intuitively, LRU/k for k ? 1 is a good strategy, because it gives low priority to pages that have been scanned or to pages that belong to a big randomly accessed file (e.g., the account file in TPC/A). They found that LRU/2 achieves most of the advantage of their method. The one problem of LRU/2 is the processor Supported by U.S. Office of Naval Research #N00014-91-J1472 and #N00014-92-J-1719, U.S. National Science Foundation grants #CCR-9103953 and IRI-9224601, and USRA #5555-19. Part of this work was performed while Theodo...
Cited by 611 works.
Authors
References
- The Art of Computer Programming: Volume 3: Sorting and Searching
- Amortized efficiency of list update and paging rules
- The LRU-K page replacement algorithm for database disk buffering
- Data caching issues in an information retrieval system
- Principles of database buffer management
- Sequentiality and prefetching in database systems
- An evaluation of buffer management strategies for relational database systems
- Starburst mid-flight: as the dust clears (database project)
- Data cache management using frequency-based replacement
- Operating system support for database management