Correct Answer - Option 1 : Preserves dependency but cannot perform lossless join
The correct answer is option 1.
Dependency preserving decomposition:
The Decomposition R with the dependency F into R1 and R2 with the dependency F1 and F2 is said to be dependency preserving if and only if Fl=( F1∪F2 )+.
i.e every dependency of R we can determine using the decomposed relation.
R: Fl
|
R1 (A, B) : (F1) |
R2 (C, D) : (F2) |
A→B
A→ A
B→B
|
C→D
C→C
D→D
|
Here reflexive functional dependency removed because they obtain other attributes. So here Fl=( F1∪F2 )+ will be A→B and C→D will satisfy the Fl. So It Preserves dependency.
Lossless join Decomposition:
The Decomposition R into R1 and R2 is said to be lossless if R1 ⋈ R2 =R.
Decomposition R into R1 and R2 is said to lossless if and only if the attribute common must be a key in either R1 or R2 or Both otherwise it lossy Decomposition or not lossless join.
The schema R (A, B, C, D) key is AC. R1 (A, B) and R2 (C, D) common attribute is empty so It not a key in R1 or R2 or Both relation. Hence It is not lossless join decomposition.
∴ Hence the correct answer is Preserves dependency but cannot perform the lossless join.