An invoice design example.
The invoice is represented in the tabular form.
The invoice without multivalued attributes.
First normal form: eliminating repeating data. A relation is said to be in first normal form when it contains no multivalued attributes. That is, every intersection of a row and column in the relation must contain at most one data value (saying “at most” allows for missing or null values).
Sometimes, we will find a group of attributes that repeat together, as with the line items on the invoice.
To transform unnormalized relations into first normal form, we must move multivalued attributes and repeating groups to new relations.
Because a repeating group is a set of attributes that repeat together, all attributes in a repeating group should be moved to the same new relation.
However, a multivalued attribute (individual attributes that have multiple values) should be moved to its own new relation rather than combined with other multivalued attributes in the new relation.
Second normal form: eliminating partial dependencies i.e. separating data so that any editing of a piece of data only has to be done once
Third normal form: eliminating transitive dependencies i.e. separating data so that when records are deleted other data is not disturbed
Characteristics of high quality data
- Correct - accurate
- Verifiable - checkable through other existing information
- Complete - data contains all relevant information
- Concise - data contains only relevant information
- Understandable - most users can readily comprehend what the data means
- Current - data is up to date and useful at the current time
- Accessible - data available when and where it is required
Problems of poor data quality
- Incomplete: not enough information to do a job
- out-of-date: does not indicate current state of affairs
- not understandable: cannot understand what the data is describing
- not where it is needed: cannot use it because it is too far away
- not when it is needed: cannot get it until after it is needed
References
- Andy Oppel (2011), Database Demystified, 2nd Ed, McGraw-Hill.
- Melbourne Institute of Technology (Semester 2, 2012). BN105 IT for Users in Organisations Lecture Notes.
No comments:
Post a Comment