Flexible and adaptable buffer management techniques for database management systems
- 1 April 1995
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 44 (4) , 546-560
- https://doi.org/10.1109/12.376169
Abstract
The problem of buffer management in database management systems is concerned with the efficient main memory allocation and management for answering database queries. Previous works on buffer allocation are based either exclusively on the availability of buffers at runtime or on the access patterns of queries. In this paper, we first propose a unified approach for buffer allocation in which both of these considerations are taken into account. Our approach is based on the notion of marginal gains which specify the expected reduction in page faults by allocating extra buffers to a query. Then, we extend this approach to support adaptable buffer allocation. An adaptable buffer allocation algorithm automatically optimizes itself for the specific query workload. To achieve this adaptability, we propose using runtime information, such as the load of the system, in buffer allocation decisions. Our approach is to use a simple queuing model to predict whether a buffer allocation will improve the performance of the system. Thus, this paper provides a more theoretical basis for buffer allocation. Simulation results show that our methods based on marginal gains and our predictive methods consistently outperform existing allocation strategies. In addition, the predictive methods have the added advantage of adjusting their allocation to changing workloads.Keywords
This publication has 10 references indexed in Scilit:
- Flexible buffer allocation based on marginal gainsACM SIGMOD Record, 1991
- Buffer management in relational database systemsACM Transactions on Database Systems, 1986
- Principles of database buffer managementACM Transactions on Database Systems, 1984
- Implications of certain assumptions in database performance evauationACM Transactions on Database Systems, 1984
- Database buffer paging in virtual storage systemsACM Transactions on Database Systems, 1977
- Approximating block accesses in database organizationsCommunications of the ACM, 1977
- Performance of a database manager in a virtual memory systemACM Transactions on Database Systems, 1976
- The design and implementation of INGRESACM Transactions on Database Systems, 1976
- Analysis and performance of inverted data base structuresCommunications of the ACM, 1975
- Evaluation techniques for storage hierarchiesIBM Systems Journal, 1970