INTELLIGENT DATABASE CACHING THROUGH THE USE OF PAGE-ANSWERS AND PAGE-TRACES

被引:3
作者
KAMEL, N [1 ]
KING, R [1 ]
机构
[1] UNIV COLORADO,DEPT COMP SCI,BOULDER,CO 80309
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1992年 / 17卷 / 04期
关键词
ALGORITHMS; DESIGN; PERFORMANCE; ARTIFICIAL INTELLIGENCE; DATABASES; PAGE ACCESS;
D O I
10.1145/146931.146933
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper a new method to improve the utilization of main memory systems is presented. The new method is based on prestoring in main memory a number of query answers, each evaluated out of a single memory page. To this end, the ideas of page-answers and page-traces are formally described and their properties analyzed. The query model used here allows for selection, projection, join, recursive queries as well as arbitrary combinations. We also show how to apply the approach under update traffic. This concept is especially useful in managing the main memories of an important class of applications. This class includes the evaluation of triggers and alerters, performance improvement of rule-based systems, integrity constraint checking, and materialized views. These applications are characterized by the existence at compile time of a predetermined set of queries, by a slow but persistent update traffic, and by their need to repetitively reevaluate the query set. The new approach represents a new type of intelligent database caching, which contrasts with traditional caching primarily in that the cache elements are derived data and as a consequence, they overlap arbitrarily and do not have a fixed length. The contents of the main memory cache are selected based on the data distribution within the database, the set of fixed queries to preprocess, and the paging characteristics. Page-answers and page-traces are used as the smallest indivisible units in the cache. An efficient heuristic. to select a near optimal set of page-answers and page-traces to populate the main memory has been developed, implemented, and tested. Finally, quantitative measurements of performance benefits are reported.
引用
收藏
页码:601 / 646
页数:46
相关论文
共 52 条
[1]  
[Anonymous], 1982, PRINCIPLES DATABASE
[2]  
BEIN J, 1987, 13TH P VLDB BRIGHT, P13
[3]  
BLAKELEY JA, 1986, MAY P ACM SIGMOD INT, P61
[4]  
Blum M., 1973, Journal of Computer and System Sciences, V7, P448, DOI 10.1016/S0022-0000(73)80033-9
[5]  
CHAKRAVARTHY US, 1986, 12TH P VLDB KYOT, P384
[6]  
CHAKRAVARTHY US, 1982, IEEE QQ B DATABASE E, V5, P38
[7]   ESTIMATING BLOCK SELECTIVITIES [J].
CHRISTODOULAKIS, S .
INFORMATION SYSTEMS, 1984, 9 (01) :69-79
[8]   IMPLICATIONS OF CERTAIN ASSUMPTIONS IN DATABASE PERFORMANCE EVALUATION [J].
CHRISTODOULAKIS, S .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1984, 9 (02) :163-186
[9]  
CHRISTODOULAKIS S, 1983, MAY P ACM SIGMOD C S, P40
[10]  
COHEN D, 1989, MAY P ACM SIGMOD INT, P225