29.12.2014 Views

Chapter 6 Normalization

Chapter 6 Normalization

Chapter 6 Normalization

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What’s wrong with it<br />

Given the following table<br />

ID Name Address Hobby<br />

1111 John Doe 123 Main St. Stamps<br />

1111 John Doe 123 Main St. Coins<br />

2222 Mary Doe 7 Lake Dr. Acting<br />

If John Doe moves to 1 Russell Street, we have<br />

to change the address information in both tuples<br />

for John. Imagine what happens if John<br />

has 123 hobbies.<br />

We either have to update this information 123<br />

times, and if we miss even one, the information<br />

will no longer consistent.(Update abnormally)<br />

A reason for this abnormally is that the address<br />

information is redundantly kept: we have to<br />

repeat it for every combination of key value.<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!