Republic of The Philippines Province of Cotabato Municipality of Makilala Makilala, Cotabato
Republic of The Philippines Province of Cotabato Municipality of Makilala Makilala, Cotabato
Province of Cotabato
Municipality of Makilala
MAKILALA INSTITUTE OF SCIENCE AND TEHNOLOGY
Makilala, Cotabato
I. LEARNING OUTCOME(S):
III. REFERENCE
i. “Database Systems” 3rd Edition by Thomas Connolly, Carolyn Begg
ii. “Modern Database Management” 6th Edition by Jeffrey A. Hoffer, Mary B.
Prescott, Fred R. McFadden
NORMALIZATION
The purpose of normalization is to identify a suitable set of relations that support the data
requirements of an enterprise. The characteristics of a suitable set of relations include the following:
▪ the minimal number of attributes necessary to support the data requirements of the enterprise;
▪ attributes with a close logical relationship (described as functional dependency) are found in the
same relation;
▪ minimal redundancy with each attribute represented only once with the important exception of
attributes that form all or part of foreign keys which are essential for the joining of related
relations.
The benefits of using a database that has a suitable set of relations is that the database will be easier
for the user to access and maintain the data, and take up minimal storage space on the computer.
A major aim of relational database design is to group attributes into relations to minimize data
redundancy. If this aim is achieved, the potential benefits for the implemented database include the
following:
▪ updates to the data stored in the database are achieved with a minimal number of operations
thus reducing the opportunities for data inconsistencies occurring in the database;
▪ reduction in the file storage space required by the base relations thus minimizing costs.
Of course, relational databases also rely on the existence of a certain amount of data redundancy. This
redundancy is in the form of copies of primary keys (or candidate keys) acting as foreign keys in related
relations to enable the modeling of relationships between data. In this discussion we illustrate the
problems associated with unwanted data redundancy by comparing the Staff and Branch relations
shown in Figure 1 with the StaffBranch relation.
Figure 1
Figure 2
2.
2
2
1
2
Functional Dependencies
Figure 3
3.
1.
2.
V. ASSESSMENT
1. What is normalization?
2. Why do we need to normalize data in a database?
3. How data redundancy and update anomalies occur?
4. Describe the concept of functional dependency in not less than 2 paragraphs.
5. What are the different types of update anomaly? Describe how each anomaly occurs on a relation
that has redundant data.