ics321-20091119-fdnf3 - ICS 321 Fall 2009 Schema Refinement...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ICS 321 Fall 2009 Schema Refinement Asst. Prof. Lipyeow Lim University of Hawaii at Manoa 11/19/2009 1 Lipyeow Lim -- University of Hawaii at Manoa
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Decompositions Reduces redundancies and anomalies, but could have the following potential problems: Some queries become more expensive. Given instances of the decomposed relations, we may not be able to reconstruct the corresponding instance of the original relation! Checking some dependencies may require joining the instances of the decomposed relations. Two desirable properties: Lossless-join decomposition Dependency-preserving decomposition 11/19/2009 Lipyeow Lim -- University of Hawaii at Manoa 2
Background image of page 2
Lossless-join Decomposition Decomposition of R into X and Y is lossless-join w.r.t. a set of FDs F if, for every instance r that satisfies F: π X (r) join π Y (r) = r In general one direction π X (r) join π Y (r) r is always true, but the other may not hold. Definition extended to decomposition into 3 or more relations in a straightforward way. It is essential that all decompositions used to deal with redundancy be lossless! (Avoids Problem (2).) 11/19/2009 Lipyeow Lim -- University of Hawaii at Manoa 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The decomposition of R into X and Y is lossless- join wrt F if and only if the closure of F contains: X Y X, or X Y Y In particular, the decomposition of R into UV and R - V is lossless- join if U V holds over R. 11/19/2009
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/15/2010 for the course ICS 321 taught by Professor Lim during the Fall '09 term at University of Hawaii, Manoa.

Page1 / 13

ics321-20091119-fdnf3 - ICS 321 Fall 2009 Schema Refinement...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online