|
ABSTRACT
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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
Jose A. Blakeley , Per-Ake Larson , Frank Wm Tompa, Efficiently updating materialized views, Proceedings of the 1986 ACM SIGMOD international conference on Management of data, p.61-71, May 28-30, 1986, Washington, D.C., United States
|
| |
3
|
|
| |
4
|
BLUM, M., FLOYD, R. W., PRATT, V., RlVEST, R. L., AND TARJAN, R. E T~me bounds for selection. J. Comput. Syst. Scl. 7 (1973) 448-461.
|
| |
5
|
CHAKRAVARTHY, U. S., AND MINKER, J. Processing multiple querms m database systems. IEEE Quart. Bull. Database Eng. 5.3 (Sept. 1982), 38-43.
|
| |
6
|
|
 |
7
|
|
| |
8
|
CHRISTODOULAKIS, S. Estimating block selectivities. In Inf. Syst. 9, 1 (,Jan. 1984), 69-79.
|
 |
9
|
|
 |
10
|
|
| |
11
|
DEWITT, D. J., KATZ, R. H., OLKEN, F., SHAPIRO, L., STONEBRAKER, M. R., AND WOOD, D. Implementation techniques for main memory database systems. In Proceedings of the lOth VLDB (Singapore, Aug. 1984), pp. 1 8.
|
 |
12
|
|
 |
13
|
|
| |
14
|
FORGY, C. L. Rete: A fast algorithm for the many pattern/many object pattern match problem. Art~f. Intell. 19, (1982), 17-37.
|
| |
15
|
HAMMER, M., AND CHAN, A. Index selection in a self-adaptive database management system. In Procee&ngs of the 3rd VLDB (Brussels, Aug. 1976), pp. 1-8.
|
| |
16
|
IP, M. Y. L., SAXTON, L. g., AND RAGHAVAN, V. g. On the selection of an optimal set of indexes. IEEE Trans. Softw. Eng. (Mar. 1983).
|
 |
17
|
|
| |
18
|
JARKE, M. Common subexpression isolation in multiple query optimization. In Query Processing in Database Systems, W. Kim, D. Reiner, and D. Batory, Eds., Springer, New York, 1985, pp. 191 205.
|
| |
19
|
KAMEL, N. Performance enhancements of Rete networks through the use of page-nodes. In Proceedings of the 3rd IEEE Conference on Art,ficzal Intelhgence Apphcatzons (Orlando, Fla., 1987).
|
| |
20
|
|
| |
21
|
KAMEL, N., AND KING, R. Optimal management of temporaries in distributed databases. In Proceedings of the Supercomputing Conference (Santa Clara, Calif., 1987), pp. 188-193.
|
| |
22
|
KAMEL, N., AND KING, R. PACKRAT as a tool for enhancing retrieval support for permanent CAD databases. In Proceedings of the Internatzonal Conference on Data and Knowledge Systems for Engineering and Manufacturing (Hartford, Conn., Oct. 1988).
|
 |
23
|
|
| |
24
|
Kou, L.T. Polynomial complete consecutive information retrieval problems. In SIAM J. Comput. 6, 1 (Mar. 1977), 67-75.
|
| |
25
|
LARSON, P.-A., AND YANG, H.Z. Computing queries from derived relatmns. In Proceedings of the llth VLDB (Stockholm, Aug. 1980), pp. 259-269.
|
| |
26
|
|
 |
27
|
|
| |
28
|
MENDENHALL, W., SCHEAFFER, R. L., AND WACKERLY, D.D. Mathemat,cal Statistics wzth Applications. Duxbury Press, Boston, Mass., 1981, pp. 317 320.
|
| |
29
|
NICOLAS, J.-M. Logic for improving integrity checking in relational data bases. Acts Inf. 18, 3 (Dec. 1982), 227 253.
|
 |
30
|
|
| |
31
|
|
| |
32
|
ROSENKRANTZ, D., AND HUNT, III, H.B. Processing conjunctive predicates and queries. In Proceedings of the 6th VLDB (Montreal, Oct. 1980), pp. 64 72.
|
 |
33
|
|
 |
34
|
|
 |
35
|
|
| |
36
|
|
| |
37
|
|
 |
38
|
|
 |
39
|
|
 |
40
|
T. Sellis , C. C. Lin , L. Raschid, Implementing large production systems in a DBMS environment: concepts and algorithms, Proceedings of the 1988 ACM SIGMOD international conference on Management of data, p.404-423, June 01-03, 1988, Chicago, Illinois, United States
|
 |
41
|
|
| |
42
|
SHETH, A., BUER, D. V., STEPHEN, RUSSELL, S. AND DAO, S. Cache management system: Preliminary design and evaluation criteria. Tech. Rep. TM-8484/000/00, Unlsys Corp., West Coast Research Center (Oct. 1988).
|
| |
43
|
SHETH, A. P., AND O'HARE, A.B. The architecture of BRAID: A system for efficient AI/DB Integration. Tech. Mem. TM-STS-015544, Bellcore, Nov. 1989.
|
 |
44
|
|
 |
45
|
|
 |
46
|
|
| |
47
|
|
| |
48
|
|
| |
49
|
|
 |
50
|
|
 |
51
|
|
| |
52
|
YOUSSEFI, K., AND WONG, E. Query processing in a relational database management system In Proceedzngs of the 5th VLDB (Rio de Janero, Oct. 1979), pp. 409 417.
|
|