Sequentiality and prefetching in database systems

作者: Alan Jay Smith

DOI: 10.1145/320263.320276

关键词: TRACE (psycholinguistics)Fault (power engineering)Real-time computingDatabaseInstruction prefetchPoint (geometry)Computer scienceParallel computingFunction (mathematics)Dynamic programmingBlock (data storage)Paging

摘要: Sequentiality of access is an inherent characteristic many database systems. We use this observation to develop algorithm which selectively prefetches data blocks ahead the point reference. The number prefetched chosen by using empirical run length distribution and conditioning on observed sequential block references immediately preceding reference current block. optimal prefetch estimated as a function “costs,” including cost accessing not resident in buffer (a miss), fetching additional at fault times, that are never referenced. estimate latter cost, described memory pollution, two ways. consider treatment (in replacement algorithm) blocks, whether they treated referenced or not, find it makes very little difference. Trace taken from operational IMS system analyzed results presented. show how determine sizes. anticipatory can lead significant improvements operation.

参考文章(20)
W. G. Tuel, An analysis of buffer paging in virtual storage systems Ibm Journal of Research and Development. ,vol. 20, pp. 518- 520 ,(1976) , 10.1147/RD.205.0518
D. P. Gaver, S. S. Lavenberg, T. G. Price, Exploratory analysis of access path length data for a data base management system Ibm Journal of Research and Development. ,vol. 20, pp. 449- 462 ,(1976) , 10.1147/RD.205.0449
Alfred V Aho, Peter J Denning, Jeffrey D Ullman, None, Principles of Optimal Page Replacement Journal of the ACM. ,vol. 18, pp. 80- 93 ,(1971) , 10.1145/321623.321632
S. S. Lavenberg, G. S. Shedler, Stochastic modeling of processor scheduling with application to data base management systems Ibm Journal of Research and Development. ,vol. 20, pp. 437- 448 ,(1976) , 10.1147/RD.205.0437
D. E. Gold, D. J. Kuck, A model for masking rotational latency by dynamic disk allocation Communications of the ACM. ,vol. 17, pp. 278- 288 ,(1974) , 10.1145/360980.361006
A.J. Smith, Sequential Program Prefetching in Memory Hierarchies Computer. ,vol. 11, pp. 7- 21 ,(1978) , 10.1109/C-M.1978.218016
Trivedi, Prepaging and Applications to Array Algorithms IEEE Transactions on Computers. ,vol. 25, pp. 915- 921 ,(1976) , 10.1109/TC.1976.1674716
J.-L. Baier, G.R. Sager, Dynamic Improvement of Locality in Virtual Memory Systems IEEE Transactions on Software Engineering. ,vol. SE-2, pp. 54- 62 ,(1976) , 10.1109/TSE.1976.233801
Y. Bard, Characterization of Program Paging in a Time-sharing Environment IBM Journal of Research and Development. ,vol. 17, pp. 387- 393 ,(1973) , 10.1147/RD.175.0387
A. E. Cooper, W. T. Chow, Development of on-board space computer systems Ibm Journal of Research and Development. ,vol. 20, pp. 5- 19 ,(1976) , 10.1147/RD.201.0005