ACM Home Page
Please provide us with feedback. Feedback
On the optimal nesting order for computing N-relational joins
Full text PdfPdf (1.39 MB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 9 ,  Issue 3  (September 1984) table of contents
Pages: 482 - 502  
Year of Publication: 1984
ISSN:0362-5915
Authors
Toshihide Ibaraki  Toyohashi Univ.
Tiko Kameda  Simon Fraser Univ.
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 9,   Downloads (12 Months): 97,   Citation Count: 50
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1270.1498
What is a DOI?

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
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
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  50


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...

Collaborative Colleagues:
Toshihide Ibaraki: colleagues
Tiko Kameda: colleagues