|
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
|
Philip A. Bernstein , Nathan Goodman , Eugene Wong , Christopher L. Reeve , James B. Rothnie, Jr., Query processing in a system for distributed databases (SDD-1), ACM Transactions on Database Systems (TODS), v.6 n.4, p.602-625, Dec. 1981
[doi> 10.1145/319628.319650]
|
| |
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
|
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]
|
 |
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
|
Clement T. Yu , Leszek Lilien , Keh-Chang Guh , Marjorie Templeton , David Brill , Arbee L. P. Chen, Adaptive Techniques for Distributed Query Optimization, Proceedings of the Second International Conference on Data Engineering, p.86-93, February 05-07, 1986
|
| |
59
|
C. T. Yu , K.-C. Guh , W. Zhang , M. Templeton , D. Brill , A.L.P. Chen, Algorithms to process distributed queries in fast local networks, IEEE Transactions on Computers, v.36 n.10, p.1153-1164, Oct. 1987
[doi> 10.1109/TC.1987.1676856]
|
|