ACM Transactions on Database Systems · 1996 · 78 citations · 31 references
ComputingComputer ScienceAlgorithmsDatabasesTheory Of ComputationBoolean AlgebraConstraint SatisfactionEquivalence CheckingRelational DatabasesBoolean SatisfiabilityBoolean Satisfiability ProblemComplexity AnalysisComplexity Of Satisfiability
Satisfiability, implication, and equivalence problems involving conjunctive inequalities are widely encountered database challenges that must be processed efficiently, and these inequalities are frequently used as 0‑joins or selections in database systems. The study examines two common arithmetic inequality types—attribute‑attribute and attribute‑constant comparisons—across various operator sets. The authors analyze satisfiability and implication under integer and real domains with two operator sets, develop necessary and sufficient conditions, implement the resulting algorithms, and conduct experimental comparisons with prior methods. The results reveal that solutions differ across domains and operator sets, provide the first necessary and sufficient conditions and efficient algorithms for four cases, improved algorithms for two cases, and demonstrate that the new algorithms outperform existing ones even on small inputs. C++ code is available via anonymous FTP from archive.fiu.edu.
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, ( X op Y ) 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>.
31
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
Depth-First Search and Linear Graph Algorithms
Robert E. Tarjan · SIAM Journal on Computing · 1972 · 6K citations
Robert W. Floyd · Communications of the ACM · 1962 · 4K citations · Full text
1990 · 3.1K citations
Principles of database and knowledge-base systems
Choice Reviews Online · 1989 · 2.7K citations