ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
Journal of Computer and System Sciences
Volume 66, Issue 1, February 2003, Pages 20-39
Special Issue on PODS 2000
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Article
Purchase PDF (213 K)

 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/S0022-0000(02)00028-4    How to Cite or Link Using DOI (Opens New Window)
Copyright © 2003 Published by Elsevier Science (USA).

Query containment for data integration systems*1

Todd MillsteinCorresponding Author Contact Information, E-mail The Corresponding Author, Alon HalevyE-mail The Corresponding Author and Marc FriedmanE-mail The Corresponding Author, 1

Department of Computer Science and Engineering, University of Washington, Box 352350, Seattle, WA 98195-2350, USA

Received 1 October 2000; 
revised 1 January 2002. 
Available online 7 March 2003.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

The problem of query containment is fundamental to many aspects of database systems, including query optimization, determining independence of queries from updates, and rewriting queries using views. In the data-integration framework, however, the standard notion of query containment does not suffice. We define relative containment, which formalizes the notion of query containment relative to the sources available to the data-integration system. First, we provide optimal bounds for relative containment for several important classes of datalog queries, including the common case of conjunctive queries. Next, we provide bounds for the case when sources enforce access restrictions in the form of binding pattern constraints. Surprisingly, we show that relative containment for conjunctive queries is still decidable in this case, even though it is known that finding all answers to such queries may require a recursive datalog program over the sources. Finally, we provide tight bounds for variants of relative containment when the queries and source descriptions may contain comparison predicates.

Author Keywords: Query containment; Data integration; Query rewriting; Views; Datalog; Binding patterns

Article Outline

1. Introduction
2. Preliminaries
2.1. Queries
2.2. Query containment
2.3. Mediated schemas and source descriptions
2.4. Certain answers
2.5. Relative containment
2.6. Complexity measure
3. Complexity of relative containment
3.1. Upper bounds
3.2. Lower bounds
4. Binding pattern limitations
4.1. Problem definition
4.2. Decidability
5. Comparison predicates
6. Conclusions and open problems
References

Journal of Computer and System Sciences
Volume 66, Issue 1, February 2003, Pages 20-39
Special Issue on PODS 2000
 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.