Consider the schema R over the attributes KNLMDFG with the following functional dependencies:

KN -> L
LM -> N
LMN -> D
D -> M
M -> FG

and the following multivalued dependencies:
R = NLK ./ NDMFG
R = KNMF ./ FLDG

Decompose this schema into 4NF using the following method: first obtain a BCNF decomposition using the FDs only. Then proceed to apply the MVDs to further normalize the schemas that are not yet in 4NF.


Solution:
The minimal cover is
KN -> L
LM -> N
LM -> D
D -> M
M -> F
M -> G

So 3NF is
R1 = (KNL; KN -> L)
R2 = (LMND; LM -> ND)
R3 = (DM; D -> M)
R4 = (MFG; M -> FG)
This is not yet lossless, since none of the attribute sets of Ri is a superkey of R. So, we need
to add a new schema whose attribute set is a superkey: R0 = (KNLD, f g). (Actually, this
schema has some implied FDs, such as KN->L.)

R2 is not in BCNF due to D -> M. Split into R21 = DM (same as R3) and R22 =DLN.
We now need to check which of the resulting schemas are still not in 4NF and decompose
them with respect to the MVDs.
R1 and R21 are in 4NF.
R22 is not in 4NF due to MVD 1. Splitting into NL and ND (with no FDs embedded into these
schemas).
R3 is in 4NF.
R4 is not in 4NF due to MVD 2. Splitting into MF and FG.
The resulting 4NF decomposition has schemas with these attribute sets: KNL, DM, NL, ND, MF,
and FG.

Computer Science & Information Technology

You might also like to view...

When you copy or cut text, a copy of the text is placed in the Clipboard

Indicate whether the statement is true or false

Computer Science & Information Technology

Sort order in Datasheet view overrides the sort order in Design view

Indicate whether the statement is true or false

Computer Science & Information Technology

The tool that assists you in managing hardware on a network that includes machines that run a diverse mix of operating systems is ________

a. Remote Assistance b. Windows Remote Management c. Remote Desktop d. Windows Remote Shell

Computer Science & Information Technology

To preview an attached file created in an Office 2013 application, you do not need to have that application installed on your computer.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology