Abstract
In this paper we present a new approach that handles Query Containemnt problems by expressing them as a view updating problem. Since this approach is independent of any particular view updating method, it provides a general framework that joins research efforts in both the Query Containment checking and view updating fields. In particular, the larger development of current view updating technology allows us to check properly Query Containment when considering negative-derived literals or integrity constraints. Existing methods for Query Containment checking that deal with these cases do not check actually containment but another related property called uniform containment, which is a sufficient but not necessary condition for containment.
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho, Y. Sagiv, J.D. Ullman: “Efficient Optimization of a Class of Relational Expressions”. ACM TODS, Vol. 4, No. 4, 1979, pp. 435–454.
N.R. Brisaboa, H.J. Hernandez: “Testing Bag-Containment of Conjunctive Queries”. Acta Informatica, Vol. 34, No.7, 1997, pp. 557–578.
M. Buchheit, M.A. Jeusfeld, W. Nutt, M. Staudt: “Subsumption of queries in object-oriented databases”. Information Systems, Vol. 19, No. 1, 1994.
F. Bancilhon, R. Ramakrishnan: “An amateur's introduction to recursive query processing strategies”. Proceedings of the 1986 ACM SIGMOD International Conference. SIGMOD Record, Vol. 15, No. 2, 1986, pp. 16–52.
A.K. Chandra, P.M. Merlin: “Optimal Implementation of Conjunctive Queries in Relational Data Bases”, Proceedings of the 9th ACM SIGACT Symposium on Theory of Computing. 1977, pp. 77–90.
C. Chekuri, A. Rajaraman: “Conjunctive Query Containment Revisited”. Proceedings of ICDT'97. LNCS, Vol. 1186, Springer, 1997, pp. 56–70.
D. Costal, E. Teniente, T. Urpi: “An Approach to Obtain Intensional Translations for Consistent View Updating”. Proocedings of the DOOD'97. LNCS, Vol. 1341, Springer, 1997, pp. 175–192.
S. Chaudhuri, M.Y. Vardi: “On the Equivalence of Recursive and Nonrecursive Datalog Programs”. Proc. of the PoDS'92. ACM Press, 1992, pp. 55–66.
S. Chaudhuri, M. Vardi: “Optimizing real conjunctive queries”. Proceedings of the PoDS'93. ACM Press, 1993, pp. 59–70.
G. Dong, J. Su: “Conjunctive QC with respect to views and constraints”. Information Processing Letters, No. 57, pp. 95–102, 1996.
H. Decker, E. Teniente, T. Urpf: “How to tackle schema validation by view updating”. Proc. of the EDBT'96. LNCS 1057, Springer, 1996, pp. 535–549.
D.S. Johnson, A. Klug: “Optimizing conjunctive queries that contain untyped variables”. SIAM Journal on Conputing, Vol. 12, No. 4, pp. 616–640, 1983.
A. Klug: “On Conjunctive Queries Containing Inequalities”. Journal of the ACM, Vol. 35, No. 1, 1988, pp. 146–160.
J.W. Lloyd: Foundations of Logic Programming. Springer, 1987.
A. Levy, I.S. Mumick, Y. Sagiv, O. Shmueli: “Equivalence, query-reachability and satisfiability in Datalog extensions”. Proceedings of the PoDS'93. ACM Press, 1993, pp. 109–122.
A. Levy, Y. Sagiv: “Queries Independent of Updates”. Proceedings of the VLDB'93. Morgan Kaufmann, 1993, pp. 171–181.
A. Levy, Y. Sagiv: “Semantic Query Optimization in Datalog Programs”. Proceedings of the PoDS'95. ACM Press, 1995, pp. 163–173.
A. Levy, D. Suciu: “Deciding Containment for Queries with Complex Objects”. Proceedings of the PoDS'97. ACM Press, 1995, pp. 20–31
J.W. Lloyd, R.W. Topor: “Making Prolog More Expressive”. Journal of Logic Programming, 1984, No. 3, pp. 225–240.
A. Olivé: “Integrity Checking in Deductive Databases”. Proceedings of the VLDB'91. Morgan Kaufmann, 1991, pp. 513–523.
Y. Sagiv: “Optimizing Datalog Programs”. In J. Minker (Ed.): Foundations of Deductive Databases and Logic Programming. Morgan Kaufmann, Los Altos, CA, 1988, pp. 659–698.
M. Staudt, K.v. Thadden: “A Generic Subsumption Testing Toolkit for Knowledge Base Queries”. Proceedings of the DEXA'96. LNCS, Vol. 1134, Springer, 1996, pp. 834–844.
E. Teniente, A. Olivé: “Updating Knowledge Bases while Maintaining their Consistency”. The VLDB Journal, Vol. 4, No. 2, 1995, 193–241.
J.D. Ullman: Principles of Database an Knowledge-Base Systems, Volume 1. Computer Science Press, Rockville, MD, 1988.
J.D. Ullman: Principles of Database an Knowledge-Base Systems, Volume 2: The New Technologies. Computer Science Press, Rockville, MD, 1989.
X. Zhang, M.Z. Ozsoyoglu: “On efficient reasoning with implication constraints”. Proc. of the DOOD'93. LNCS 760, Springer, 1993, pp. 236–252.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1998 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Farré, C., Teniente, E., Urpí, T. (1998). Query containment checking as a view updating problem. In: Quirchmayr, G., Schweighofer, E., Bench-Capon, T.J. (eds) Database and Expert Systems Applications. DEXA 1998. Lecture Notes in Computer Science, vol 1460. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0054492
Download citation
DOI: https://doi.org/10.1007/BFb0054492
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-64950-2
Online ISBN: 978-3-540-68060-4
eBook Packages: Springer Book Archive