NON LOSS DECOMPOSITION

 

Non-Loss Decomposition (Lossless Decomposition)

Non-Loss Decomposition (also called Lossless Join Decomposition) is a concept in database normalization where a table is divided into two or more smaller tables without losing any data.

After decomposition, when the smaller tables are joined back together, the original table should be obtained exactly as it was — without any extra or missing data.


🔹 Why is Non-Loss Decomposition Important?

  • Prevents data loss

  • Avoids creation of incorrect (spurious) tuples

  • Ensures accurate reconstruction of the original relation

  • Maintains data integrity


🔹 Condition for Lossless Decomposition

A decomposition of relation R into R1 and R2 is lossless if:

  • The common attribute between R1 and R2 is a super key in at least one of the relations.

In simple words:
The common attribute used to join the tables should uniquely identify records in at least one table.


🔹 Example

Consider a relation:

R(Student_ID, Name, Department)

If we decompose into:

R1(Student_ID, Name)
R2(Student_ID, Department)

Since Student_ID is the primary key, joining R1 and R2 will give back the original table without any data loss.


🔹 Conclusion

Non-loss decomposition is an essential concept in normalization. It ensures that breaking a large table into smaller tables does not result in loss of information and that the original relation can be perfectly reconstructed using a join operation.

click here

Comments

Popular posts from this blog

Views in Relational Databases

SQL

EMBEDDED SQL