

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















we may not be able to reconstruct the corresponding instance of the original relation – information loss.
Certain Decomposition May Cause Problem
Name Price Category Gizmo 19.99 Gadget OneClick 24.99 Camera DoubleClick 29.99 Camera
Price Category 19.99 Gadget 24.99 Camera 29.99 Camera
Name Category Gizmo Gadget OneClick Camera DoubleClick Camera
Functional dependencies:
Employee Branch, Project Branch
Employee Branch
Brown L.A
Green San Jose
Hoskins San Jose
Project Branch Mars L.A. Jupiter San Jose Saturn San Jose Venus San Jose
A decomposition is lossless if we can recover:
R(A, B, C)
R1(A, B) R2(A, C)
R’(A, B, C)
The decomposition of a relation R on X 1 and X 2
is lossless if the join of the projections of R on X 1 and X 2 is equal to R itself (that is, not containing false tuples).
A1 A2 A3 A4 A
R1 a(1) a(2) a(3) b(1,4) a(5)
R2 a(1) b(2,2) a(3) a(4) b(2,5)
R3 b(3,1) b(3,2) b(3,3) a(4) a(5)