Outline Overview 1NF 2NF 3NF BCNF EKNF 4NF 5NF DKNF 6NF
Decomposition into BCNF – An example
Given a relation R = <ABCDPQVZ>, which is not in BCNF,
having the key A and functional dependencies {CP → A, BD
→ P, C → B}.
Solution: Let us start with BD → P. Based on this, we
decompose R and obtain <ABCDQVZ> and <BDP>. Now
<BDP> is in BCNF (BD is the key).
For C → B, <ABCDQVZ> is not in BCNF. Therefore, we have
further decomposition into <ACDQVZ> and <CB>.
Thus, the decomposition <ACDQVZ>, <CB> and <BDP> is a
lossless-join decomposition of R into BCNF.
Alternate solution: Suppose, we start with C → B. Then the
relation R would be decomposed into <ACDPQVZ> and <CB>.
The only dependencies that hold over <ACDPQVZ> are CP → A
and the key dependency A → ACDPQVZ. CP is a key. Hence the
decomposed relations are in BCNF.
Malay Bhattacharyya Database Management Systems