Last Updated : 25 Jul, 2025
As databases grow in complexity, proper normalization becomes important to reduce data redundancy and maintain data integrity. Fourth Normal Form (4NF) is a higher level of normalization in relational database design, which deals with multivalued dependencies (MVDs).
Multivalued Dependency Multivalued DependencyA multivalued dependency occurs in a relation when one attribute determines multiple independent values of another attribute, independent of other attributes. A multivalued dependency always requires at least three attributes because it consists of at least two attributes that are dependent on a third.
For a dependency A -> B, if for a single value of A, multiple values of B exist, then the table may have a multi-valued dependency. The table should have at least 3 attributes and B and C should be independent for A ->> B multivalued dependency.
Example: A course can have multiple instructors, a course can also have multiple textbook authors but instructors and authors are independent of each other. This creates two independent multivalued dependencies:
Course ->-> Instructor
Course ->-> TextBook_Author
If stored in the same table, this creates redundant combinations and data anomalies. A multivalued dependency is a generalization of a functional dependency, but they are not the same.
Fourth Normal Form (4NF)The Fourth Normal Form (4NF) is a level of database normalization where there are no non-trivial multivalued dependencies other than a candidate key. It builds on the first three normal forms (1NF, 2NF and 3NF) and the Boyce-Codd Normal Form (BCNF). It states that, in addition to a database meeting the requirements of BCNF, it must not contain more than one multivalued dependency. It is an extension of Boyce-Codd Normal Form (BCNF) and ensures that a relation does not contain multiple independent one-to-many relationships within a single table.
4th Normal Form PropertiesA relation R is in 4NF if and only if the following conditions are satisfied:
Key Idea: 4NF eliminates redundancy caused by multivalued dependencies by separating independent one-to-many relationships into different tables.
A table with a multivalued dependency violates the normalization standard of the Fourth Normal Form (4NF) because it creates unnecessary redundancies and can contribute to inconsistent data. To bring this up to 4NF, it is necessary to break this information into two tables.
Example: Consider the database table of a class that has two relations R1 contains student ID(SID) and student name (SNAME) and R2 contains course id(CID) and course name (CNAME).
Table R:
Course
InstructorTextBook_Author
Management
XChurchill
Management
YPeters
Management
ZPeters
Finance
AWeston
Finance
AGilbert
Problem:Solution: To remove the MVDs and bring the relation to Fourth Normal Form, we split the original table into two separate tables, each handling one multivalued dependency. This improves data integrity and removes redundancy.
Table R1:
Course
InstructorManagement
XManagement
YManagement
ZFinance
AThis table shows which instructor teaches which course.
Table R2:
Course
TextBook_Author
Management
Churchill
Management
Peters
Finance
Weston
Finance
Gilbert
Benefits of Decomposition:Result: Now, the 4NF is Achieved
Example: If a course has 3 instructors and 2 textbook authors, we get 3 × 2 = 6 rows, even though there's no link between instructors and authors.
After 4NF decomposition: Instructors and authors are stored in separate tables, so:
->->
Instructor OR Course ->->
Textbook_Author), not both.Why it's important:
After decomposition:
Result: The structure now meets
Efficient Storage:
No Anomalies:
Note: Decomposing tables to eliminate multivalued dependencies isn't just about "following rules" , but it's about making your data model more logical, efficient and future-proof.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4