4 Database Design
4 Database Design
1. Functional Dependencies
A functional dependency is a constraint between two sets of
attributes in a relation (table). It describes a relationship
where one attribute uniquely determines another attribute. If
we say A -> B, it means that if two rows in a table have the
same value for A, they must have the same value for B .
Here, A is called the determinant of B .
Key Points:
• Functional dependencies are crucial in identifying
redundancy.
• They guide the normalization process by indicating
which attributes depend on others.
2. Process of Normalization
Normalization is a step-by-step process of refining the
structure of a database by organizing data to reduce
redundancy and dependency. It involves dividing large tables
into smaller tables and defining relationships between them.
The main goal of normalization is to ensure that each piece of
data is stored only once.
The normalization process includes various normal forms
(NFs), each adding a level of rigor to the database design.