title: 07-Relational-Database-Design-Purpose-&-First-Normal-Form
date: 2023-11-03
status: DONE
tags:
- DataBase
- NOTE
- Lec6
author:
- AllenYGY
created: 2023-12-03T22:39
updated: 2024-03-21T21:39
publish: True
Relational-Database-Design-Purpose-&-First-Normal-Form
Normally, The logical design is good enough because the ER diagram is carefully designed.
Suppose that instead of the schemas
we have a larger schema
From the example, we see redundancy occurs.
Sometimes decompositions are useless.
Sometimes naive decompositions create inconsistency.
For one attribute A of the schema, the other attributes it can be identified.
A->B,C,D
A domain is atomic if its elements are considered to be indivisible units.
A relational schema R is in first normal form if the domains of all attributes of R are atomic.
Non-atomic values complicate storage and encourage redundant (repeated) storage of data.
Atomicity is actually a property of how the elements of the domain are used.