Open In App

What is Fifth Normal Form (5NF) in DBMS?

Normalization is a process that involves removing or decreasing the redundancy present in the database. Normalization mainly focuses on removing duplicate data from the database and making it more consistent.

There are various types of normalization such as 1NF,2NF, 3NF, BCNF, 4NF, and 5NF. 5NF is one of the highest levels of normalization form present in database normalization.



Fifth Normal Form (5NF)

1) Relation should be already in 4NF 2) It cannot be further non-loss decomposed (JoindDependency should not be present)

Let’s have a look at the above 2 conditions for 5NF.



Relation Should be Already in 4NF

  1. It should be in BCNF.
  2. No multi-valued dependency should exist.

Non-Loss Decomposition

  • A database is in 5NF when there is no join dependency present in the table / database.
  • R=(R1 ⨝ R2 ⨝ R3 ⨝ ………Rn) where R1,R2,R3…..Rn are sub-relation of R and ⨝ is Natural Join Operator.

Example

Subject

Class

Teacher

math

class 10

kartik

math

class 9

yash

math

class 10

yash

science

class 10

yash

Table R1

Subject

Class

math

class 9

math

class 10

science

class 10

Table R2

Class

Teacher

class 10

kartik

class 9

yash

class 10

yash

Table (R1 ⨝ R2)

Subject

Class

Teacher

math

class 9

yash

math

class 10

kartik

math

class 10

yash

science

class 10

kartik

science

class 10

yash

Table R3

Subject

Teacher

math

yash

math

kartik

science

yash

Table (R1 ⨝ R2⨝ R3)

Subject

Class

Teacher

math

class 9

yash

math

class 10

yash

math

class 10

kartik

science

class 10

yash

Uses of Fifth Normal Form(5NF)

Limitation of Fifth Normal Form(5NF)

Frequently Asked Questions on Fifth Normal Form – FAQs

Which dependency is related to 5NF?

Join dependecy is checked in the 5NF. Relation should satisfy the condition of join dependency then only it will be in the fifth normal form.

What is 5NF also called?

5NF is also known as Project Join Normal Form (PJNF).

Is 5NF is used?

As 5NF increases the complexity of the databse, it is less frequently used in the indusrty. Complexity is the reason for less use of 5NF.


Article Tags :