GATE / CS ARCHIVE

GATE CSE 2002 / QUESTION 16(a)

Lossless decomposition through a common determinant

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

GATE 2002, Q16(a) Descriptive
Report issue

Normalization & Decomposition

Question 16(a), GATE 2002: R(L,M,N,O,P) has M→O,NO→P,P→L,L→MN and is decomposed into R1(L,M,N,P),R2(M,O). Original16(a): Is the decomposition lossless? Explain.
Question 16(a), GATE 2002: R(L,M,N,O,P) has M→O,NO→P,P→L,L→MN and is decomposed into R1(L,M,N,P),R2(M,O). Original16(a): Is the decomposition lossless? Explain.
Tap to enlarge
Answer & solution

Answer: Yes, the decomposition is lossless. (no official key was published)

Step through it (2 steps)

The source dependencies are M→O, NO→P, P→L, and L→MN. The components are R1(L,M,N,P) and R2(M,O), with intersection {M}. Since M→O, their intersection functionally determines all of R2. The binary lossless-join criterion therefore holds: (R1∩R2)→R2 is implied by the dependencies. Consequently joining the two projections of any legal instance recreates the original relation without spurious tuples.

Original paper, page 9