Normalization
Normalization
What is a normalization: Normalisation is the process for evaluating and correcting tables structures,
This minimises the data redundancies and reduces data anomalies
• Normalization is the process of splitting relations into well structured relations that allow users
to insert, delete, and update records without introducing database inconsistencies.
4. Boyce-Codd (BCNF)
Data anomalies: a fault in a database that usually emerges as a result of shoddy planning and storing
everything in a flat database.
Update anomaly: is a data inconsistency that results from data redundancy and a partial update
Delete anomaly: A deletion anomaly is the unintended loss of data due to deletion of other data
Insert anomaly: is the inability to add data to the database due to absence of other data.
UNF:
2NF: each non key attribute must depend on the entire primary key
3NF: every key attribute in a table should depend on the key, the whole key and nothing but the key.