To determine which statements about dependency preservation are correct, let's evaluate each one individually.
-
Dependency preservation means that after the decomposition of a table schema ( R ) into the table schemas ( R_1, ..., R_n ), the attributes on both sides of the functional dependencies of the set ( F_i ) of functional dependencies assigned to a table ( R_i ) are attributes from ( R_i ).
This statement is describing the projection of functional dependencies onto the decomposed schemas, not the definition of dependency preservation. Dependency preservation concerns whether the original set of functional dependencies ( F ) can be enforced by the functional dependencies ( F_i ) in the decomposed schemas without needing to perform joins. Therefore, while the statement is true about the projection, it does not define dependency preservation. This statement is not correct in defining dependency preservation.
-
The functional dependencies of a set ( F ) of functional dependencies for a table schema ( R ) are distributed to the sets ( F_i ) of functional dependencies for the table schemas ( R_i ) of the decomposition of ( R ).
This is accurate. When a table schema ( R ) is decomposed into ( R_1, ..., R_n ), its functional dependencies ( F ) are indeed distributed into subsets ( F_i ) corresponding to each ( R_i ), typically by projecting ( F ) onto ( R_i ). This statement is correct.
-
The interest in dependency preservation has semantical reasons.
Dependency preservation is important because it ensures that the semantics (meaning) of the data and the integrity constraints (functional dependencies) are maintained after decomposition. It allows us to enforce all the constraints without having to join the decomposed relations, which can be costly. This statement is correct.
-
The restriction of a set ( F ) of functional dependencies to a relation schema ( R_i ) contains those functional dependencies from ( F ) whose attributes on both sides are all in ( R_i ).
This is the definition of projecting or restricting the set of functional dependencies ( F ) onto ( R_i ), where we include only those dependencies that are fully contained within ( R_i ). This statement is correct.
-
One way to algorithmically show that a decomposition of a table schema ( R ) with the set ( F ) of functional dependencies into the table schemas ( R_1, ..., R_n ) is dependency preserving is to show that the closure of the union of all restrictions of ( F ) to the table schemas ( R_i ) is equal to the closure of ( F ).
This is the standard method to verify dependency preservation. If the closure of the union of the projected dependencies ( F_i ) equals the closure of ( F ), then all functional dependencies are preserved in the decomposition. This statement is correct.