Computing queries from derived relations

作者: H. Z. Yang , Per-Åke Larson

DOI:

关键词: Boolean conjunctive queryRelation (database)Query optimizationViewTheoretical computer scienceRelational algebraComputer scienceDistributed databaseSet (abstract data type)JoinsSargable

摘要: Assume that a set of derived relations are available in stored form. Given query (or subquery), can it be computed from the rela- tions and, if so, how? Variants this problem arise several areas processing. Relation fragments at site distributed database system, data- base snapshots, and intermediate results obtained dur- ing processing all examples stored, relations. In paper we give neces- sary sufficient conditions for when is com- putable single relation. It assumed both relation defined by PSJ-expressions, is, relational algebra expressions involving only projections, selections, joins, any combination. The solution constructive: not does tell whether computable or not, but also shows how to compute it.

参考文章(11)
Daniel J. Rosenkrantz, Harry B. Hunt, Processing conjunctive predicates and queries very large data bases. pp. 64- 72 ,(1980)
Giuseppe Pelagatti, Stefano Ceri, Distributed Databases: Principles and Systems ,(1984)
A. V. Aho, Y. Sagiv, J. D. Ullman, Equivalences among Relational Expressions SIAM Journal on Computing. ,vol. 8, pp. 218- 246 ,(1979) , 10.1137/0208017
E. Babb, Joined normal form: a storage encoding for relational databasess ACM Transactions on Database Systems. ,vol. 7, pp. 588- 614 ,(1982) , 10.1145/319758.319768
Nicholas Roussopoulos, View indexing in relational databases ACM Transactions on Database Systems. ,vol. 7, pp. 258- 290 ,(1982) , 10.1145/319702.319729
Yehoshua Sagiv, Mihalis Yannakakis, Equivalences Among Relational Expressions with the Union and Difference Operators Journal of the ACM. ,vol. 27, pp. 633- 655 ,(1980) , 10.1145/322217.322221
Sheldon Finkelstein, Common expression analysis in database applications Proceedings of the 1982 ACM SIGMOD international conference on Management of data - SIGMOD '82. ,vol. 1982, pp. 235- 245 ,(1982) , 10.1145/582353.582400
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. ,vol. 1, pp. 16- 36 ,(1976) , 10.1145/320455.320457
Jeffrey D. Ullman, Principles of Database Systems ,(1994)