ACM Home Page
Please provide us with feedback. Feedback
Correcting execution of distributed queries
Full text PdfPdf (1.22 MB)
Source International Symposium on Databases for Parallel and Distributed Systems archive
Proceedings of the second international symposium on Databases in parallel and distributed systems table of contents
Dublin, Ireland
Pages: 192 - 201  
Year of Publication: 1990
ISBN:0-8186-2052-8
Authors
P. Bodorik  School of Computer Science, Technical University of Nova Scotia, P.O. Box 1000, Halifax, Nova Scotia, B3J 2X4, Canada
J. Pyra  School of Computer Science, Technical University of Nova Scotia, P.O. Box 1000, Halifax, Nova Scotia, B3J 2X4, Canada
J. S. Riordon  Dept. of Systems and Computer Engineering, Carleton University, Ottawa, Ontario, K1S 5B6, Canada
Sponsors
IEEE-CS\TCDE : TC on Data Engineering
SIGARCH: ACM Special Interest Group on Computer Architecture
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 13,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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

ABSTRACT

Algorithms for processing distributed queries require a priori estimates of the size of intermediate relations. Most such algorithms take a “static” approach in which the algorithm is completely determined before processing begins. If size estimates are found to be inaccurate at some intermediate stage, there is no opportunity to re-schedule, and the result may be far from optimal. Adaptive query execution may be used to alleviate the problem. Care is necessary, though, to ensure that the delay associated with re-scheduling does not exceed the time saved through the use of a more efficient strategy. This paper presents a low overhead delay method to decide when to correct a strategy. Sampling is used to estimate the size of relations, and alternative heuristic strategies prepared in a background mode are used to decide when to correct. Correction is made only if lower overall delay is achieved, including correction time. Evaluation using a model of a distributed data base indicates that the heuristic strategies are near optimal. Moreover, it also suggests that it is usually correct to abort creation of an intermediate relation which is much larger than predicted.


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
Apers P., Hevner A., Yao S.B., 1983; "Algorithms for Distributed Queries", IEEE TOSE, Vol. SE-9, No. 1, Jan. 1983, 57-68.
 
2
3
 
4
5
 
6
Bodorik P. and Riordon J.S., 1988c; "Evaluating Dynamic Processing of Distributed Queries", Proc. of the IEEE Int. Conference on Distributed Computing Systems, San Jose, California, June 13-17. 1988, 510-519.
 
7
8
 
9
Carey M., Livny M., Lu Hongjun, 1985; "Dynamic Task Allocation in a Distributed Database System", Proc. of the 1985 IEEE Conf. on Distributed Comp. Systems, 282-291.
 
10
Cellary W., Meyer D., 1980; "A Multi-query approach to Distributed Processing in a Relational Distributed Database Management System", Distributed Data Bases: Proc. Inter. Symp. on Distributed Data Bases, Edited by Delobel C., Litwin W., North Holland Publ. Co. March 1980.
 
11
 
12
 
13
14
 
15
Chu y., Hurley P., 1982; "Ophmal Query Processing for Distributed DB Systems", IEEE TOC, Vol. C-31, No. 9, Sept. 1982, 835-850.
 
16
Daniels et al., 1982; "An Introduction to Distributed Ouerv Comvilation in Svstem R", In mData Sihnkider G.J., editor, korth Holland, 1982, 247-290.
 
17
18
 
19
Epstein R., Stonebraker M., 1980; "Analysis of Distributed DB Processing Strategies", 6th VLDB Conf., Montreal, QUE, Canada, 1980,92-101.
 
20
21
 
22
Hevner A., Yao S.B., 1979; "Query Processing in Distributed Data Base Systems", IEEE TOSE, Vol. SE-5, No. 3, May 1979, 177-187.
 
23
Hevner A., 1980, "Query Processing in Distr. Data Base Systems", Ph.D. thesis, Univ. of Minnesota, 1980.
 
24
25
 
26
 
27
 
28
Kambayashi Y., 1985; "Processing Cyclic Queries:, in Query Processing in Distributed Data Base Systems, Edited by Kim, Reiner and Batory, Springer-Verlag, 1985, pp. 62-78.
29
 
30
Kim W., 1985; "Global Optimization of Relational Queries: A First Step", in Query Processing in Distributed Data Base Systems. Edited by Kim, Reiner and Batoxy. Springer-Verlag, 1985, pp. 207- 216.
31
32
33
 
34
Lohman G.M., et. al., 1985; in "Query Processing in R*", in Query Processing in Database M, Edited by Kim W., Reiner D., Batory D., Springer Verlag, 1985, pp. 31-47.
 
35
36
 
37
Mahmoud S.A., Riordon J.S., Toth K.C., 1979; "Distributed Database Partitioning and Query Processing", Proc. IFIP-TC-2, Venice, Italy, 1979,32-51.
 
38
 
39
Nguyen, N.G., 1981; "Distributed Query Management for a Local Network", Proc. 2nd hit. Conf. on Distributed Computing Systems, Paris, France, April 1981, 188-196.
 
40
 
41
Otoo E.J., et al., 1987; "Improving Semi-Join Evaluation in Distributed Query Processing", Proc. of the IEEE Conf. on Distr. Comp. Systems, 1987, 554-561.
 
42
Ounegbe E., Rahimi S., Hevner A., 1983; "Local Query Translation and Optimization in a Distributed System", Proc. NCC, July 1983, pp. 229-239.
 
43
Perizzo W., 1984; "A Method for Processing Distr. Database Queries", IEEE TOSE, Vol. SE-IO, No. 4, July 1984,466-471.
 
44
Pyra J.. 1988; "Dynamic Query Processing in Distributed DB Systems", M.ComD.Sci. Thesis. Technical Universitv of Nova Scotia. Halifax: Nova Scotia, Canada, December 1988.
 
45
 
46
 
47
Segev A., 1984; "Optimizing Fragmented 2-Way Joins", Proc. of the Int. Conf. on Distributed Computing Systems, 1984, 378-388.
48
49
 
50
 
51
52
53
 
54
 
55
Yu C., Lin Y.C., 1982; "Some Estimation Problems in Distributed Query Processing", Proc. IEEE Data Eng. Conf., 1982, 13-19.
 
56
Yu C., et. al., 1983; "On the design of a Distr. Query Processing Strategy", Proc. ACM SIGMOD Conf., May 1983, pp. 30-39.
 
57
Yu C.T., 1985; 'Distributed Database Query Processing", in Query Processing in Database Svstems, Edited by Kim W., Reiner D., Batory D., Springer Verlag, 1985, pp. 48-61.
 
58
 
59


Collaborative Colleagues:
P. Bodorik: colleagues
J. Pyra: colleagues
J. S. Riordon: colleagues