摘要
本文提出函数依赖图的概念和理论,并重点应用它对关系模式候选关键字的求解问题进行了深入而系统的讨论,解决了单属性情况下候选关键字的求解问题,得到了若干新的结论。
The concept of Functional Dependency Graph (FDG) is proposed and used for solving the candidate key in the case of single attribute dependency set. The following conclusions are drawn:a. If there is a key attribute node in FDG, then the key attribute will definitely be included in all candidate ksys of R, where R is the node of relation;b. If there is no independent loop in FDG, then the key attribute set will be the unique candidate key of R;c. If there are k independent loops (k≥1) in FDG, then R has m (m>1) candidate keys with each containing n attributes composed of two parts, i.e., the key attribute set and the selected attribute set. The former will be found in all candidate keys while the latter can only be found in one candidate key from an indpendent loop. In addition, if X represents a key attribute set, n1, …, nk the numbers of the nodes of independent loops respectively, then m = n1 n2…nk, n = |x| + k. This means that n is a constant.
出处
《华中理工大学学报》
CSCD
北大核心
1989年第4期35-40,共6页
Journal of Huazhong University of Science and Technology
关键词
函数依赖图
结点连接
数据库
Functional dependency graph
Node connectedness
Initial node
Isolat-ed node
Terminal node
Initial loop
Independent loop