ACM Home Page
Please provide us with feedback. Feedback
Solving satisfiability and implication problems in database systems
Full text PdfPdf (397 KB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 21 ,  Issue 2  (June 1996) table of contents
Pages: 270 - 293  
Year of Publication: 1996
ISSN:0362-5915
Authors
Sha Guo  Florida International Univ., Miami
Wei Sun  Florida International Univ., Miami
Mark A. Weiss
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 48,   Citation Count: 16
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/232616.232692
What is a DOI?

ABSTRACT

Satisfiability, implication, and equivalence problems involving conjunctive inequalities are important and widely encountered database problems that need to be efficiently and effectively processed. In this article we consider two popular types of arithmetic inequalities, (XopY) and (X op C), where X and Y are attributes, C is a constant of the domain or X, and op {<, ≤, =, , >, ≥). These inequalities are most frequently used in a database system, inasmuch as the former type of inequality represents a 0-join, and the latter is a selection. We study the satisfiability and implication problems under the integer domain and the real domain, as well as under two different operator sets ({<, ≤, =, ≥, >} and {<, ≤, =, , ≥, >}). Our results show that solutions under different domains and/or different operator sets are quite different. Out of these eight cases, excluding two cases that had been shown to be NP-hard, we either report the first necessary and sufficient conditions for these problems as well as their efficient algorithms with complexity analysis (for four cases), or provide an improved algorithm (for two cases). These iff conditions and algorithms are essential to database designers, practitioners, and researchers. These algorithms have been implemented and an experimental study comparing the proposed algorithms and those previously known is conducted. Our experiments show that the proposed algorithms are more efficient than previously known algorithms even for small input. The C++ code can be obtained by an anonymous ftp from <archive.fiu.edu>.


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
 
2
AHO, A. V., SAGIV, Y., AND ULLMAN, J.n. 1979a. Equivalences among relational expressions. SIAM J. Comput. 8, 2 (May), 218-246.
3
4
 
5
6
 
7
8
9
 
10
11
12
 
13
GAREY, M., JOHNSON, D., AND STOCKMEYER, L. 1976. Some simplified NP-complete problems. Theor. Comput. Sci. 1, 237-267.
 
14
15
 
16
JOHNSON, D. AND KLUG, A. 1984. Testing containment of conjunctive queries under functional and inclusion dependencies. J. Comput. Syst. Sci. 28, I (Feb.), 167-189.
 
17
JOHNSON, D. AND KLUG, A. 1983. Optimizing conjunctive queries that contain untyped variables. SIAM J. Comput. 12, 4 (Nov.), 616-640.
 
18
KIM, W. 1984. Global optimization of relational queries: A first step. In Query Processing in Database Systems, W. Kim, D. Reiner, and D. Batory, Eds., Springer, New York.
 
19
KING, J.J. 1986. Quist: A system for semantic query optimization in relational databases. In Proceedings of the Seventh International Conference on Very Large Databases (Kyoto, Japan), 510-517.
20
 
21
 
22
23
 
24
ROSENKaANTZ, D. J. AND HUNT, H. B. III 1980. Processing conjunctive predicates and queries. In Proceedings of the Sixth International Conference on Very Large Databases, 64 -72.
25
26
 
27
STONEBRAKER, M. AND NEUHOLD, E. 1977. A distributed database version of INGRES. In Proceedings of the Second Berkeley Workshop on Distributed Data Management and Computer Networks, (May), 19-36.
 
28
 
29
 
30
 
31
 
32
TARJAN, R. 1972. Depth-first search and linear graph algorithms. SIAM J. Comput. 1, 2 (June), 146-160.
 
33
 
34
35
36
 
37

CITED BY  16


REVIEW

"Adina Magda Florea : Reviewer"

Efficient algorithms for solving the satisfiability, implication, and equivalence problems involving conjunctive inequalities in databases are presented. The authors study the satisfiability and implication problems (equivalence is reduced to   more...

Collaborative Colleagues:
Sha Guo: colleagues
Wei Sun: colleagues
Mark A. Weiss: colleagues