ON SATISFIABILITY, EQUIVALENCE, AND IMPLICATION PROBLEMS INVOLVING CONJUNCTIVE QUERIES IN DATABASE-SYSTEMS

Authors
Citation
S. Guo et al., ON SATISFIABILITY, EQUIVALENCE, AND IMPLICATION PROBLEMS INVOLVING CONJUNCTIVE QUERIES IN DATABASE-SYSTEMS, IEEE transactions on knowledge and data engineering, 8(4), 1996, pp. 604-616
Citations number
33
Categorie Soggetti
Information Science & Library Science","Computer Sciences, Special Topics","Engineering, Eletrical & Electronic","Computer Science Artificial Intelligence
ISSN journal
10414347
Volume
8
Issue
4
Year of publication
1996
Pages
604 - 616
Database
ISI
SICI code
1041-4347(1996)8:4<604:OSEAIP>2.0.ZU;2-Y
Abstract
Satisfiability, equivalence, acid implication problems involving conju nctive queries are important and widely encountered problems in databa se management systems. These problems need to be efficiently and effec tively solved. In this paper, we consider queries which are conjunctio ns of the inequalities of the form (X op C), (X op Y), and/or (X op Y + C), where X and Y are two attributes, C is a constant, and op epsilo n/<,less than or equal to,=,not equal,>,greater than or equal to/. The se types of inequalities are widely used in database systems, since th e first type is a selection, the second type is a theta-join, and the third type is a very popular clause in a deductive database system. Th e satisliability, equivalence, and implication problems in the integer domain (for attributes and constants) have been shown to be NP-hard [ 20], [24]. However, we show that these problems can be solved efficien tly in the real domain. The incorporation of the real domain is signif icant, because the real domain is practically and widely used in a dat abase. Necessary and sufficient conditions and algorithms are presente d. A novel concept of the ''module closure'' and a set of sound and co mplete axioms with respect to the ''module closure'' are also proposed to infer all correct and necessary inequalities from a given query. T he proposed axioms generalize Ullman's axioms [27] where queries only consist of theta-joins.