

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These lecture slide are very easy to understand and very helpful to built a concept about the foundation of computers and Database Design.The key points in these slide are:Lossless Decomposition, Eliminate Redundancy, Decompositions in General, Relation with Attributes, Problems with Decomposition, Decomposition of Previous Relation, Original Relation, False Tuples, Decomposition Property
Typology: Slides
1 / 25
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)