1,352 views
2 2 votes
It is said that if a relation is in bcnf then it is also in 3nf. Then why a lossless and non-dependency preserving decomposition qualifies to be in bcnf but not in 3nf. I am not getting it. Please clear my concept.

1 Answer

1 1 vote

The Normal forms are used to remove redundancy in the given database. But removing redundancy should not loose any previous data. We should not loose any data while removing the redundancy.

3NF : Relation with X -> Y form FD where X is Super key (or) Y is a Prime attribute.

let R(ABC) with FDs as AB -> C and C -> B, with AB as CK. This R is in 3NF as it satisfies the above condition.

Data be,

     A               B               C

0 1 1
1 1 2
1 0 3
0 0 4
4 1 1
5 1 1
6 1 1
7 1 1

The above table is 3NF but we are still having redundancy in B and C column at last 4 rows.

Can we able to remove this also?

Yes we can, by decompsing into BCNF

as R1(AB) , AB as CK , R2(AC), AC as CK and R3(CB) and C as CK

The R3 will have data look like this,

C B
1 1
2 1
3 0
4 0

Here we don't have redundancy compared to 3NF.

The Normalization is done to remove redundancy as much as possible. Since FD preserving is not a compulsory to have in decomposed relation, but LossLess is must as we have to preserve data integrity by not adding an extra row or deleting of row. Hence Lossless decomposition property is necessary for Normalization but FD preserving is not.

Please correct me if i am wrong. I have tried to explaing what i knew.

Position:
Show:

Related questions

0 0 votes
0 0 answers
266
266 views
Amisha1626 asked Mar 29, 2025
266 views
0 0 votes
1 answers 1 answer
814
814 views
naresh_m asked Apr 15, 2024
814 views
In on of the examples shown by RBR sir, under Normalization I think he did this problem incorrectly, Given relation R(ABC) and fd: AB->C and C->A, convert it into 2NFFor ...
0 0 votes
2 2 answers
1.2k
1.2k views
Chaitanya Kale asked Nov 1, 2022
1,226 views
Consider a relation R with more than two attributes. Let A and B are sets of attributes from R and A$\cap$B = $\phi$. Functional dependency A → B holds on R. Which one of...
0 0 votes
0 0 answers
1.4k
1.4k views
Nishtha_Agarwal asked Dec 31, 2018
1,356 views
Options area- not in 3nf,in bcnfb- in 3nf,not in bcnfc- in 3nf, in bcnfd- not in 3nf, not in bcnf