Dependency Preservation and Normal Form Tradeoffs
Check whether each original functional dependency follows from projected rules that can be enforced without rejoining the tables.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Lossless decomposition can still move a rule across a boundary
Consider schema \(ABC\) with \(AB\to C\) and \(C\to B\). Decomposing into \(AC\) and \(CB\) is lossless because the shared \(C\) determines \(B\). But the projected tables alone lack a dependency enforcing \(AB\to C\). One \(A\) may appear with two different \(C\) values, and the corresponding \(CB\) rows may give both the same \(B\). Each local rule holds while the joined result violates the original dependency.
Choose which rules need local enforcement
Boyce–Codd normal form asks that nontrivial determinants be superkeys. Normalizing for that property can require an explicit cross-table check for a lost dependency. Other normal forms allow some redundancy to preserve specified dependencies. Attribute closure makes implication testable, while lossless joins check reconstruction. These two criteria should be evaluated independently for a proposed schema.[1][2]