edited by
16,634 views
51 votes
51 votes

For relation R=(L, M, N, O, P), the following dependencies hold:

$ M \rightarrow O,$ $NO \rightarrow P,$ $P \rightarrow L$ and $L \rightarrow MN$

R is decomposed into R1 = (L, M, N, P) and R2 = (M, O).

  1. Is the above decomposition a lossless-join decomposition? Explain.
  2. Is the above decomposition dependency-preserving? If not, list all the dependencies that are not preserved.
  3. What is the highest normal form satisfied by the above decomposition?
edited by

5 Answers

0 votes
0 votes

Those who solving the Part A Refer this link . 

Here There is also second method must to check, 

When You apply the  first method of Lossless join 

  1. R1 intersection R2 →  R1 or R2 must have superkey( then it lossless join 

        If not then check for this also ,

  1. if (R₁ ∩ R₂)→ (R₁ - R₂) or (R₁ ∩ R₂)→ (R₂ - R₁) holds in F⁺(this should be present in the given Functional Dependencies)  then it’s a lossless-join decomposition

database - Lossless Join Decomposition - Stack Overflow

Related questions

55 votes
55 votes
6 answers
2
Kathleen asked Sep 15, 2014
16,909 views
From the following instance of a relation schema $R(A,B,C)$, we can conclude that:$$\begin{array}{|l|l|}\hline \textbf{A} & \textbf{B} & \textbf{C} \\\hline \text{1} & \...
33 votes
33 votes
2 answers
4
Kathleen asked Sep 15, 2014
5,689 views
The following table refers to search items for a key in $B$-trees and $B^+$ trees.$$\begin{array}{|ll|ll|} \hline & \textbf {B-tree} & & \textbf {B}^+\text{-tree} \\\hl...