Determining View dependencies using tableaux

A relational database models some part of the real world by a set of relations and a set of constraints. The constraints model properties of the stored information and must be maintained true at all times. For views defined over physically stored (base) relations, this is done by determining whether the view constraints are logical consequences of base relation constraints. A technique for determining such valid view constraints is presented in this paper. A generalization of the tableau chase is used. The idea of the method is to generate a tableau for the expression whose summary violates the test constraints in a “canonical” way. The chase then tries to remove this violation. It is also shown how this method has applications to schema design. Relations not in normal form or having other deficiencies can be replaced by normal form projections without losing the ability to represent all constraint information.

[1]  Bradford W. Wade,et al.  An authorization mechanism for a relational database system , 1976, TODS.

[2]  Philip A. Bernstein,et al.  What does Boyce-Codd Normal Form Do? , 1980, VLDB.

[3]  Jorma Rissanen Theory of Relations for Databases - A Tutorial Survey , 1978, MFCS.

[4]  Jean-Marie Nicolas Mutual Dependencies and Some Results on Undecomposable Relations , 1978, VLDB.

[5]  Ronald Fagin,et al.  Normal forms and relational database operators , 1979, SIGMOD '79.

[6]  Alfred V. Aho,et al.  The theory of joins in relational data bases , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[7]  Ravi Sethi,et al.  Testing for the Church-Rosser Property , 1974, JACM.

[8]  E. F. Codd,et al.  Relational Completeness of Data Base Sublanguages , 1972, Research Report / RJ / IBM / San Jose, California.

[9]  Catriel Beeri,et al.  The Implication Problem for Data Dependencies , 1981, ICALP.

[10]  Catriel Beeri,et al.  A Sophisticate's Introduction to Database Normalization Theory , 1978, VLDB.

[11]  J. D. Uiiman,et al.  Principles of Database Systems , 2004, PODS 2004.

[12]  Alan R. Aronson,et al.  On interpretations of relational languages and solutions to the implied constraint problem , 1982, TODS.

[13]  Ronald Fagin,et al.  Multivalued dependencies and a new normal form for relational databases , 1977, TODS.

[14]  Michael Stonebraker,et al.  Implementation of integrity constraints and views by query modification , 1975, SIGMOD '75.

[15]  Alfred V. Aho,et al.  Equivalences Among Relational Expressions , 1979, SIAM J. Comput..

[16]  E. F. CODD,et al.  A relational model of data for large shared data banks , 1970, CACM.

[17]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.

[18]  John Grant,et al.  On the family of generalized dependency constraints , 1982, JACM.

[19]  Mihalis Yannakakis,et al.  Equivalences Among Relational Expressions with the Union and Difference Operators , 1980, J. ACM.

[20]  FaginRonald Multivalued dependencies and a new normal form for relational databases , 1977 .

[21]  Philip A. Bernstein,et al.  Synthesizing third normal form relations from functional dependencies , 1976, TODS.

[22]  Anthony C. Klug Calculating constraints on relational expression , 1980, TODS.

[23]  David Maier,et al.  Testing implications of data dependencies , 1979, SIGMOD '79.