On the complexity of join dependencies
Author:
Open Access
- 1 March 1986
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 11 (1) , 81-108
Abstract
In [10] a method is proposed for decomposing join dependencies (jds) in a relational database using the notion of a hinge. This method was subsequently studied in [11] and [12]. We show how the technique of decomposition can be used to make integrity checking more efficient. It turns out that it is important to find a decomposition that minimizes the number of edges of its largest element. We show that the decompositions obtained with the method described in [10] are optimal in this respect. This minimality criterion leads to the definition of the degree of cyclicity , which allows us to classify jds and leads to the notion of n-cyclicity , of which acyclicity is a special case for n = 2. We then show that, for a fixed value of n (which may be greater than 2). integrity checking can be performed in polynomial time provided we restrict ourselves to n-cyclic jds. Finally, we generalize a well-known characterization for acyclic jds by proving that n-cyclicity is equivalent to “n-wise consistency implies global consistency.” As a consequence, consistency checking can be performed in polynomial time if we restrict ourselves to n-cyclic jds, for a tired value of n, not necessarily equal to 2.Keywords
This publication has 9 references indexed in Scilit:
- Embedded join dependencies as a tool for decomposing full join dependencies1985
- On the decomposition of join dependencies1984
- On the Desirability of Acyclic Database SchemesJournal of the ACM, 1983
- A simplied universal relation assumption and its propertiesACM Transactions on Database Systems, 1982
- Properties of acyclic database schemes1981
- Testing implications of data dependenciesACM Transactions on Database Systems, 1979
- The theory of joins in relational databasesACM Transactions on Database Systems, 1979
- Multivalued dependencies and a new normal form for relational databasesACM Transactions on Database Systems, 1977
- A relational model of data for large shared data banksCommunications of the ACM, 1970