简体   繁体   English

保持依赖性分解?

[英]Dependency Preserving Decomposition?

I am working on a textbook question and it asks the following: 我正在研究一个教科书问题,它询问以下问题:

Let R(A,B,C,D,E) be decomposed into relations with the following three sets of attributes: 

{A,B,C} , {B,C,D}, {A,C,E}

For each of the following sets of functional dependencies, determine if the dependencies 
are preserved by the decomposition.

**Functional Dependencies:** 

AC -> E and BC -> D

I am not sure how to solve this, and the textbook doesn't provide a clear enough explanation on dependency preserving. 我不确定如何解决这个问题,而且教科书没有对保留依赖项提供足够清晰的解释。 Can someone please explain how to do this? 有人可以解释一下该怎么做吗? Thank you in advance. 先感谢您。

R = {A,B,C,D,E} decomposed into R 1 ={A,B,C} , R 2 ={B,C,D} and R 3 ={A,C,E}. R = {A,B,C,D,E}分解成R 1 = {A,B,C}, R 2 = {B,C,D}和R 3 = {A,C,E}。

"determine if the dependencies are preserved by the decomposition." “确定依赖项是否通过分解保留。”

Yes they are as BC->D is preserved in R 2 and AC->E is preserved in R 3 as is very apparent! 是的,因为BC-> D保留在R 2中,而AC-> E保留在R 3中 ,这是非常明显的!
Note - Although a decomposition may be dependency-preserving it is not necessary that it is in a higher normal form. 注意 -尽管分解可能会保留依赖关系 ,但不一定要采用较高的标准形式。

There is an easy method to check whether a decomposition is dependency-preserving. 有一种简单的方法可以检查分解是否保持依赖关系。 Check this video. 观看视频。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM