Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.39 KB

4.10.3.1 Database design and normalisation techniques.md

File metadata and controls

51 lines (34 loc) · 1.39 KB

Database Design and Normalisation

Normalise relations to third normal form

Additional Information

Students should know what properties are possessed by a relation in third normal form.

What is database normalisation?

Database normalisation is the process of organising database columns and tables to reduce data redundancy and improve data integrity.

What does normalisation do?

  • Eliminates redundant data (removes duplicates)
  • Reducing inconsistencies (i.e. Carl = Karl)
  • Data is coherent
  • A process of elimination
  • To remove data into smaller groups

Stages of Database Normalisation

There are 3 stages of Database Normalisation. There is also the Unnormalised form.

  1. 1st Normal Form - Removes all repeating groups - i.e. customer details split into customer table
  2. 2nd Normal Form - Remove all partial dependenices (breaking many to many)
  3. 3rd Normal Form - Removes all non-key dependencies (using foreign keys)

Properties of a normalised database

  • Data is atomic
  • No repeating groups
  • No partial dependencies
  • No non-key dependencies

Why are databases normalised?

Understand why databases are normalised

Databases are normalised to:

  • Reduce data redundancy
  • Improve data integrity

Benefits

  • Reduces duplicated data
  • Reduces Redundancy
  • Increases consistency and integrity
  • Easier to maintain