] > Requirements on Decompositions

Requirements on Decompositions

12.1 Preserving Dependencies

Minimal Cover

F is a minimal set of FDs if each X Y is

  1. Canonical: |Y | = 1
  2. Left-reduced: X can’t be replaced by a subset
  3. Non-redundant: X Y can’t be removed

Note

A Dependency-Preserving 3NF Decomposition Algorithm

A synthesis algorithm for defining schemas directly from the FDs.

12.2 Lossless (Nonadditive) Joins

Testing

Given:
Decomposition D = {R1,...,Rm} of R
Attributes {A1,...,An}
FDs F = {F1,...,Fr}

(Figure 15.1(c), p 507)
R1
SSNENAME
R2
PNUMBERPNAMEPLOCATION
R3
SSNPNUMBERHOURS

SSN ENAME
PNUMBER {PNAME,PLOCATION}
{SSN,PNUMBER} HOURS

A Dependency-Preserving Lossless-Join 3NF Decomposition Algorithm

12.3 Life is Not Easy

Reference: Ch. 11.1-11.2 in textbook.