Relation is decomposed using a set of functional dependencies, , and relation is decomposed using another set of functional dependencies, . One decomposition is definitely , the other is definitely , but it is not known which is which. To make a guaranteed identification, which one of the following tests should be used on the decompositions? (Assume that the closures of and are available).
View worked solution
Answer: C
To identify which decomposition is in and which is in , we must analyze the relationship between these two normal forms:
- Every relation in is also in (i.e., ).
- A relation in is not necessarily in .
Let us evaluate the tests:
- Using the definition test (Option D): Since both and decompositions satisfy the definition of , both decompositions will pass this test. Thus, we cannot distinguish between them.
- Using the definition test (Option C):
- The decomposition that is in will pass the test.
- The decomposition that is only in (and not in ) will fail the test.
- Dependency-preservation (Option A) & Lossless-join (Option B): Both and decompositions can be lossless-join. Furthermore, while a decomposition is always dependency-preserving, a decomposition may or may not be dependency-preserving. Hence, these tests cannot guarantee identification.
Therefore, the definition test must be used.
Free practice · Your answers on this page are not saved.
