IEEE Transactions on Knowledge and Data Engineering · 1996 · 31 citations · 27 references
ComputingComputer ScienceAlgorithmsDatabasesTheory Of ComputationBoolean AlgebraDatabase ManagementQuery ProcessingRelational DatabasesBoolean SatisfiabilityBoolean Satisfiability ProblemComplexity Of SatisfiabilityDatabase Management SystemsDeductive DatabasesQuery Equivalence
Satisfiability, equivalence, and implication problems involving conjunctive queries are important and widely encountered problems in database management systems. These problems need to be efficiently and effectively solved. In this paper, we consider queries which are conjunctions 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 /spl epsiv/ {<, /spl les/, =,/spl ne/, >, /spl ges/}. These types of inequalities are widely used in database systems, since the first type is a selection, the second type is a /spl theta/-join, and the third type is a very popular clause in a deductive database system. The satisfiability, equivalence, and implication problems in the integer domain (for attributes and constants) have been shown to be NP-hard. However, we show that these problems can be solved efficiently in the real domain. The incorporation of the real domain is significant, because the real domain is practically and widely used in a database. Necessary and sufficient conditions and algorithms are presented. A novel concept of the "module closure" and a set of sound and complete axioms with respect to the "module closure" are also proposed to infer all correct and necessary inequalities from a given query. The proposed axioms generalize Ullman's axioms (1989) where queries only consist of /spl theta/-joins.
27
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
Principles of database and knowledge-base systems
Choice Reviews Online · 1989 · 2.7K citations
Joxan Jaffar, J.-L. Lassez · 1987 · 1.6K citations