Types of Normal Forms in DBMS
Last Updated :
13 Apr, 2020
Database normalization is nothing but the process of structuring an RDBMS by applying some general rules either by creating a new database design or by decomposition with a series of so-called normal forms which are:
- Unnormalized form or UNF
- First Normal Form or 1NF
- Second Normal Form or 2NF
- Third Normal Form or 3NF
- Elementary key normal form or EKNF
- Boyce Codd Normal Form or BCNF
- Fourth normal form or 4NF
- Essential tuple normal form or ETNF
- Fifth normal form or 5NF
- Domain-key normal form or DKNF
- Sixth normal form or 6NF
1. Unnormalized form or UNF:
It is the simplest database model also known as non-first normal form (NF2).A UNF model will suffer problems like data redundancy thus it lacks the efficiency of database normalization.
Example:
Student Table:
StudentId Name Course
101 Raj Mathematics
Chemistry
102 Nilesh Chemistry
103 Sanu Physics
Chemistry
In this above example data in unnormalized-form because this table contains multivalued attributes in the course tuple. But there are several advantages also present for the unnormalized forms (That’s why we still use this though it lacks several advantages of database normalization) which are:
- UNF can deal with the complex data structures,
- querying in UNF is simpler,
- Restructuring the data is easier.
Using this easier to query feature
NoSQL databases like
MongoDB,
Apache etc. is more scalable hence the tech-giants like Google, Amazon and Facebook uses this for dealing with a huge amount of data daily that are difficult to store.
2. First Normal Form or 1NF:
A relation is in first normal form only if the relational table doesn’t contain any multivalued attribute but contains only single-valued attributes.
Example:
Student Table:
StudentId Name Course1 course2
101 Raj Mathematics Chemistry
102 Nilesh Chemistry
103 Sanu Physics Chemistry
To ensure this model is in first normal form, we split the course tuple (previous example) into course1 and course2 to hold our course information as atomic entities so that no row contains more than one courses.no duplicate rows.
3. Second Normal Form or 2NF:
A relation is in second normal form if:
- It is in first normal form or 1NF
- It doesn’t contain any partial dependencies. (It shouldn’t have any non-prime attribute which is functionally dependent on any proper subset of the candidate key of the relation.).
4. Third Normal Form or 3NF:
Let R be the relational schema, X->Y any non-trivial functional dependency over R is in 3NF if:
- R should be in 2NF
- X should be candidate key or superkey, or
- Y should be prime attribute
(So basically the relation which is in 2NF already if it doesn’t contain any transitive dependencies then it will be in 3NF.).
5. Elementary key normal form or EKNF:
It the improve version of the third normal form, thus generally EKNF is itself in 3rd Normal Form. When there is more than one unique compound key and the keys are overlapped then this leads to the redundancy in the overlapping column.
Thus if in the 3NF relation each and every non-trivial functional dependency involves with either a superkey or an elementary key’s subkey then it is in EKNF.
6. Boyce Codd Normal Form or BCNF:
Let R be a relational schema and
be any non-trivial functional dependency over the R is BCNF if X is a Candidate Key or a SuperKey.
or
is a trivial functional dependency (i.e, Y subset of X),
Thus BCNF has no redundancy from any functional dependency and is a slightly stronger version of the 3NF.
7. Fourth normal form or 4NF:
4NF is nothing but the next level of BCNF. While the 2NF, 3NF, and BCNF are concerned with functional dependencies, 4NF is concerned with multivalued dependency.
Let R be the relational schema F be the single and multivalued dependency

is in 4NF if:
- X is a candidate key or a super key of the relation,
or - X union Y = R
8. ETNF:
ETNF is Essential tuple normal form which is stricter than Fourth Normal Form but less strict than Fifth Normal Form.ETNF is needed to eliminate the redundancy in tuples. a relation will be in ETNF the relation is in BCNF (specified only by Functional and Join Dependencies) and some of the keys have only one attribute. (If every key had only one attribute then the relation in 5NF.). This is the simple and sufficient conditions for a relation in ETNF.
In ETNF a component of every explicit join dependency is a superkey.
9. Fifth normal form or 5NF:
5NF is also known as Project-Join Normal Form or PJ/NF. 5NF is designed to reduce the redundancy in relational databases. To avoid redundancy all the tables are broken into as many tables as possible in 5NF. A table is in 5NF when every non-trivial join dependency is implied by the candidate key of that relation. (should not contain any join dependency and join should be lossless.).
10. Domain-key normal form or DKNF:
It is a normal form in which database contains only two constraints which are:
- domain constraints,
- key constraints.
The function of domain constraint is specifying the permissible values for a given attribute, while the main function of a key constraint is to specify the attributes which uniquely identify a row in a given table.
Domain Key Normal Form avoids all non-temporal anomalies.
Always Remember that relationships which are impossible to express in foreign keys are obviously violating the Domain Key Normal Form.
11. Sixth normal form or 6NF:
A relation is in 6NF only if when it doesn’t support any nontrivial join dependencies. Any relation which is in 6NF should also be in 5NF. Though Some authors used the term sixth normal form as a synonym for DKNF, 6NF is stricter and less redundant that domain key normal form.
6NF decompose the relation variables into irreducible components. This is relatively unimportant for non-temporal relation variables but is important when we are dealing with the temporal variables or other interval data. The sixth normal form is using in many data warehouses where the benefits outweigh the drawbacks.
Normalization necessarily involves in organizing the columns or attributes, and tables of a database to ensure that their dependencies are properly enforced by database integrity constraints
Similar Reads
Normal Forms in DBMS
In the world of database management, Normal Forms are important for ensuring that data is structured logically, reducing redundancy, and maintaining data integrity. When working with databases, especially relational databases, it is critical to follow normalization techniques that help to eliminate
8 min read
Normalization Process in DBMS
Database Normalization is any systematic process of organizing a database schema such that no data redundancy occurs and there is least or no anomaly while performing any update operation on data. In other words, it means dividing a large table into smaller pieces such that data redundancy should be
8 min read
Domain Key Normal Form in DBMS
Prerequisites - Normal Forms, 4th and 5th Normal form, find the highest normal form of a relation It is basically a process in database to organize data efficiently. Basically there are two goals of doing normalization these are as follows: To remove repeated data or in simple words we can say to re
4 min read
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 o
5 min read
Types of NoSQL Databases
A database is a collection of structured data or information that is stored in a computer system and can be accessed easily. A database is usually managed by a Database Management System (DBMS). NoSQL databases are a category of non-relational databases designed to handle large-scale, unstructured,
5 min read
Types of Attributes in ER Model
In a Database Management System (DBMS), an attribute is a property or characteristic of an entity that is used to describe an entity. Essentially, it is a column in a table that holds data values. An entity may contain any number of attributes. One of the attributes is considered as the primary key.
5 min read
What is PJNF(Project-Join Normal Form)?
The Fifth Normal Form (5NF), or Project-Join Normal Form (PJNF), is the highest level of database normalization that is designed to solve problems of data redundancy. A relation is called 5NF when it is in 4NF and does not have a join dependency. It also shows that when different relations are compl
4 min read
What is Normalization in DBMS?
The normalization concept for relational databases, developed by E.F. Codd, the inventor of the relational database model, is from the 1970s. Before Codd, the most common method of storing data was in large, cryptic, and unstructured files, generating plenty of redundancy and lack of consistency. Wh
8 min read
Last Minute Notes - DBMS
Database Management System is an organized collection of interrelated data that helps in accessing data quickly, along with efficient insertion, and deletion of data into the DBMS. DBMS organizes data in the form of tables, schemas, records, etc. DBMS over File System (Limitations of File System) T
15+ min read
Types of Spatial Queries in DBMS
Any type of spatial data that is data related to location and which represents objects defined in a geometric space, is stored and maintained by Spatial Databases. These are used to handle these Spatial Databases. Spatial database mainly contain representation of simple geometric objects such as 3D
3 min read