Docsity

Normalization: Eliminating Redundancy and Ensuring Data Dependencies in Databases, Slides of Data Warehousing

Partial preview of the text

Download Normalization: Eliminating Redundancy and Ensuring Data Dependencies in Databases and more Slides Data Warehousing in PDF only on Docsity!

Normalization

What is Normalization?

  • (^) Normalization is the process of efficiently organizing data in a database by decomposing (splitting) a relational table into smaller tables by projection.
  • (^) There are basically two goals of normalization as follows:
    • (^) Eliminate redundant data.
    • (^) Ensure data dependencies make sense.
      • only storing related data in a table.

It contains atomic values, there are no repeating values, there is no aggregation, yet it contains redundant data. Redundancy causes what are called update anomalies

Update Anomalies

  • (^) INSERT. Certain student with SID 5 got admission in a different campus (say) Karachi
  • (^) cannot be added until the student registers for a course.
  • (^) DELETE. If student graduates and his/her corresponding record is deleted, then all
  • (^) information about that student is lost.
  • (^) UPDATE. If student migrates from Islamabad campus to Lahore campus (say) SID = 1, then six rows would have to be updated with this new information.