Solving implication problems in database applications

  • Authors:
  • Xian-He Sun;Nabil Kamel;Lionel M. Ni

  • Affiliations:
  • Michigan State Univ., East Lansing;Michigan State Univ., East Lansing;Michigan State Univ., East Lansing

  • Venue:
  • SIGMOD '89 Proceedings of the 1989 ACM SIGMOD international conference on Management of data
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

Computing queries from derived relations, optimizing queries from a group of queries, and updating materialized views are important database problems and have attracted much attention. One thing common to these problems is their demand to quickly solve the implication problem — given two predicates &sgr;Q and &sgr;&tgr;, can &sgr;Q imply &sgr;&tgr; (&sgr;Q→&sgr;&tgr;)? The implication problem has been solved by converting it into a satisfiability problem. Based on a graph representation, a detailed study of the general implication problem on its own is presented in this paper. We proved that the general implication problem, in which all six comparison operators: =, ≠, , ≤, ≥, as well as conjunctions and disjunctions are allowed, is NP-hard. In the case when “≠” operators are not allowed in &sgr;Q and disjunctions are not allowed in &sgr;&tgr;, a polynomial time algorithm is proposed to solve this restricted implication problem. The influence of the “≠” operator and disjunctions are studied. Our theoretical results show that for some special cases the polynomial complexity algorithm can solve the implication problem which allows the “≠” operator or disjunctions in the predicates. Necessary conditions for detecting when the “≠” operator and disjunctions are allowed are also given. These results are very useful in creating heuristic methods.