|
ABSTRACT
Using the nested loops method, this paper addresses the problem of minimizing the number of page fetches necessary to evaluate a given query to a relational database. We first propose a data structure whereby the number of page fetches required for query evaluation is substantially reduced and then derive a formula for the expected number of page fetches. An optimal solution to our problem is the nesting order of relations in the evaluation program, which minimizes the number of page fetches. Since the minimization of the formula is NP-hard, as shown in the Appendix, we propose a heuristic algorithm which produces a good suboptimal solution in polynomial time. For the special case where the input query is a “tree query,” we present an efficient algorithm for finding an optimal nesting order.
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
|
ABDEL-WAHAB, H.M., AND KAMDEDA, T. On strictly optimal schedules for the cumulative costoptimal scheduling problem. Computing 24 (1980), 61-86.
|
| |
2
|
ADACHI, J., SAITO, T., AND INOSE, H. On improving the retrieval efficiency in a database. In Proceedings 20th National Con{erence, Information Society of Japan, 1979, 743-744.
|
| |
3
|
ADACHI, J., SAITO, T., AND INOSE, H. Optimization of query processing in a database. In Proceedings I981 National Con/erence, IECE of Japan, 1981, 6/57.
|
 |
4
|
M. M. Astrahan , M. W. Blasgen , D. D. Chamberlin , K. P. Eswaran , J. N. Gray , P. P. Griffiths , W. F. King , R. A. Lorie , P. R. McJones , J. W. Mehl , G. R. Putzolu , I. L. Traiger , B. W. Wade , V. Watson, System R: relational approach to database management, ACM Transactions on Database Systems (TODS), v.1 n.2, p.97-137, June 1976
[doi> 10.1145/320455.320457]
|
 |
5
|
|
| |
6
|
BERNSTEIN, P.A., AND GOODMAN, N. Power of natural semijoins. SIAM J. Comput. 10, 4 (Nov. 1981), 751-771.
|
| |
7
|
Blasgen, M.W., and Eswaran, K.P. Storage and access in relational databases. IBM Syst. J. 16, 4 (1977), 363-377.
|
 |
8
|
|
 |
9
|
|
| |
10
|
|
| |
11
|
|
| |
12
|
HAMILTON, P., AND MANUEL T. Relational databases do it more easily. Electronics (Mar. 24, 1981). 102-103.
|
| |
13
|
KAMBAYASHI, Y., YASUURA, K., IWAMA, K., AND YAJIMA, S. The join operation in hierarchical memories. Unpublished manuscript, Dept. Information Science, Kyoto Univ., Japan, Feb. 1981.
|
 |
14
|
|
| |
15
|
|
| |
16
|
LAWLER, E.L. Sequencing jobs to minimize total weighted completion time subject to precedence constraints. Ann. Discrete Math. 2 {1978), 75-90.
|
| |
17
|
MONMA, C.L., AND SIDNEY, J.B. Sequencing with series-parallel precedence constraints. Math Oper. Res. 4 (1979), 215-224.
|
| |
18
|
PERCHERER, R.M. Efficient exploration of product spaces. In Proceedings ACM-SIGMOD International Conference on Management of Data {1976), 169-177.
|
 |
19
|
P. Griffiths Selinger , M. M. Astrahan , D. D. Chamberlin , R. A. Lorie , T. G. Price, Access path selection in a relational database management system, Proceedings of the 1979 ACM SIGMOD international conference on Management of data, May 30-June 01, 1979, Boston, Massachusetts
[doi> 10.1145/582095.582099]
|
 |
20
|
|
| |
21
|
|
 |
22
|
|
 |
23
|
|
 |
24
|
|
 |
25
|
|
| |
26
|
YONG, P-Y. Masters Thesis, Dept. of Computing Science, Simon Fraser Univ., Nov. 1983.
|
| |
27
|
GELENBE, E., AND GARDY, D. On the size of projections: I. Inf. Process. Lett. 14, 1 (1982), 18- 21.
|
CITED BY 49
|
|
|
|
|
|
|
|
Yingying Tao , Qiang Zhu , Calisto Zuzarte, Exploiting common subqueries for complex query optimization, Proceedings of the 2002 conference of the Centre for Advanced Studies on Collaborative research, p.12, September 30-October 03, 2002, Toronto, Ontario, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Yingying Tao , Qiang Zhu , Calisto Zuzarte , Wing Lau, Optimizing large star-schema queries with snowflakes via heuristic-based query rewriting, Proceedings of the 2003 conference of the Centre for Advanced Studies on Collaborative research, p.279-293, October 06-09, 2003, Toronto, Ontario, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Praveen Seshadri , Joseph M. Hellerstein , Hamid Pirahesh , T. Y. Cliff Leung , Raghu Ramakrishnan , Divesh Srivastava , Peter J. Stuckey , S. Sudarshan, Cost-based optimization for magic: algebra and implementation, ACM SIGMOD Record, v.25 n.2, p.435-446, June 1996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bugra Gedik , Kun-Lung Wu , Philip S. Yu , Ling Liu, GrubJoin: An Adaptive, Multi-Way, Windowed Stream Join with Time Correlation-Aware CPU Load Shedding, IEEE Transactions on Knowledge and Data Engineering, v.19 n.10, p.1363-1380, October 2007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REVIEW
"Frederick Neil Springsteel : Reviewer"
This work concerns certain algorithmic questions about efficient information
retrieval in database management. This clearly written, original research
addresses the specific question of minimizing the total page fetches needed to
evaluate typica
more...
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|