ARMSTRONG RELATIONS, FUNCTIONAL-DEPENDENCIES AND STRONG DEPENDENCIES

被引:0
作者
DEMETROVICS, J [1 ]
THI, VD [1 ]
机构
[1] HUNGARIAN ACAD SCI,INST COMP & AUTOMAT,H-1502 BUDAPEST,HUNGARY
来源
COMPUTERS AND ARTIFICIAL INTELLIGENCE | 1995年 / 14卷 / 03期
关键词
RELATION; RELATIONAL DATAMODEL; FUNCTIONAL DEPENDENCY; RELATION SCHEME; GENERATING ARMSTRONG RELATION; DEPENDENCY INFERENCE; STRONG SCHEME; MEMBERSHIP PROBLEM; SD-RELATION IMPLICATION PROBLEM; SD-RELATION EQUIVALENCE PROBLEM; CLOSURE; CLOSED SET; MINIMAL GENERATOR; KEY; MINIMAL KEY; ANTIKEY;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The main purpose of this paper is to give some results related to Armstrong relations for functional dependency (FD) and strong dependency (SD). In this paper, the dependency inference problem, the FD-relation implication problem and the FD-relation equivalence problem are solved by combinatorial algorithms. We prove that the time complexity of finding a set of antikeys for a given relation scheme S is exponential in the number of attributes. Keys play important roles for the logical and structural investigation of functional dependency in the relational datamodel. We present a computational connection between relations, relation schemes, sets of antikeys and sets of minimal keys. Constructions of relation R, relation scheme S, for which K-R = K-S, where K-R, K-S are the sets of minimal keys of R, S, the FD-relation key-implication problem and the FD-relation key-equivalence problem are also presented. We show that the time complexity of finding a relation R of a given relation scheme S such that K-R = K-S is exponential in the size of S. We give a class of relations and relation schemes, for which the above problems are solved in polynomial time. For a given relation R and a relation scheme S we introduce the following two problems : 1. Decide whether each key of S is key of R, 2. Decide whether all keys of R are keys of S. We show that the first problem is solved in polynomial time, but the second problem is co-NP-complete. In the second part of the paper the concept of strong scheme is introduced. We prove that the membership problem for strong dependencies is solved by an algorithm in polynomial time. We give a necessary and sufficient condition for a relation to be Armstrong relation of a given strong scheme. We present four important problems for logical and structural investigation of strong dependencies: the construction of Armstrong relation of a given strong scheme, the construction of strong scheme SDs of which hold in a given relation, the SD-relation implication problem, the SD-relation equivalence problem. We prove that above problems are solved by polynomial time algorithms.
引用
收藏
页码:279 / 298
页数:20
相关论文
共 16 条
[1]  
ARMSTRONG WW, 1974, P IFIP, V74, P580
[2]  
Beeri C., 1979, ACM Transactions on Database Systems, V4, P30, DOI 10.1145/320064.320066
[3]   ON THE STRUCTURE OF ARMSTRONG RELATIONS FOR FUNCTIONAL-DEPENDENCIES [J].
BEERI, C ;
DOWD, M ;
FAGIN, R ;
STATMAN, R .
JOURNAL OF THE ACM, 1984, 31 (01) :30-46
[4]   THE POSET OF CLOSURES AS A MODEL OF CHANGING DATABASES [J].
BUROSCH, G ;
DEMETROVICS, J ;
KATONA, GOH .
ORDER-A JOURNAL ON THE THEORY OF ORDERED SETS AND ITS APPLICATIONS, 1987, 4 (02) :127-142
[5]  
CEDLI G, 1981, J EIK, V17, P103
[6]  
Demetrovics J., 1988, Acta Cybernetica, V8, P279
[7]  
Demetrovics J., 1988, Acta Cybernetica, V8, P273
[8]  
DEMETROVICS J, IN PRESS COMP MATH A
[9]  
DEMETROVICS J, 1983, ACTA CYBERNETICA HUN, V5, P295
[10]  
Demetrovics J, 1980, MTASZTAKI TANULMANYO, V114, P1