GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 3.6

Losslessness and dependency preservation in BCNF

Database Management Systems · Normalization & Decomposition · Full GATE CSE 1994 paper

GATE 1994, Q3.6 Other
Report issue

Normalization & Decomposition

Question 3.6, GATE 1994: True or false: every schema has a BCNF decomposition that is both lossless and dependency preserving.
Tap to enlarge
Answer & solution

Answer: False (no official key was published)

Take R(A,B,C) with F={AB→C,C→B}. Its candidate keys are AB and AC. The dependency C→B violates BCNF because C is not a superkey. Decomposing into CB and AC is lossless, since the common C determines CB, and both components are BCNF. But their projected dependencies do not imply AB→C: from AB one cannot derive C. More generally every proper subrelation here supplies no dependency producing C from AB, so no decomposition into proper BCNF components can preserve that FD. BCNF can guarantee losslessness, not simultaneous dependency preservation in every case.

Original paper, page 4