Consider the relation with the following functional dependencies.
Consider the decomposition of the relation into the constituent relations according to the following two decomposition schemes.
Which one of the following options is correct?
View worked solution
Answer: A
To determine whether the decompositions and are lossless or lossy, we analyze their join properties using the given functional dependencies (FDs):
1. Analysis of :
- Join and : Their intersection is . Since , is a superkey for . Thus, this join is lossless, yielding .
- Join and : Their intersection is . Since and , we have . Thus, is a superkey for , making this join lossless, yielding .
- Join and : Their intersection is . Since , the attribute set functionally determines . Thus, is a superkey for , making this final join lossless.
Therefore, is a lossless decomposition.
2. Analysis of :
- Consider the relation . The set of attributes in all other relations is .
- The intersection is .
- Since the intersection is empty, cannot be joined losslessly with any other relation.
Therefore, is a lossy decomposition.
Free practice · Your answers on this page are not saved.
