The Community for Technology Leaders
Green Image
<p><it>Abstract</it>—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 <it>marginal gains</it> 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 run-time information, such as the load of the system, in buffer allocation decisions. Our approach is to use a simple queuing model to <it>predict</it> 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.</p>
Buffer management, performance analysis, relational databases.
Christos Faloutsos, Timos Sellis, Raymond Ng, "Flexible and Adaptable Buffer Management Techniques for Database Management Systems", IEEE Transactions on Computers, vol. 44, no. , pp. 546-560, April 1995, doi:10.1109/12.376169
96 ms
(Ver )