SOME PROBLEMS CONCERNING KEYS FOR RELATION SCHEMES AND RELATIONS IN THE RELATIONAL DATAMODEL

Citation
J. Demetrovics et Vd. Thi, SOME PROBLEMS CONCERNING KEYS FOR RELATION SCHEMES AND RELATIONS IN THE RELATIONAL DATAMODEL, Information processing letters, 46(4), 1993, pp. 179-184
Citations number
12
Categorie Soggetti
Information Science & Library Science","Computer Applications & Cybernetics
ISSN journal
00200190
Volume
46
Issue
4
Year of publication
1993
Pages
179 - 184
Database
ISI
SICI code
0020-0190(1993)46:4<179:SPCKFR>2.0.ZU;2-Z
Abstract
We give some results related to the following three problems. For a gi ven relation r and relation scheme s, decide whether: (1) each key of s is a key of r, (2) all keys of r are keys of s and (3) K(r) = K(s), where K(r),K(s) are sets of minimal keys of r,s. We show that the firs t problem is solved in polynomial time and the second problem is co-NP -complete. For the third problem we prove that if relations and relati on schemes satisfy certain additional properties, then this problem is solved in polynomial time. This paper shows also that the time comple xity of finding a relation r from a given relation scheme s such that K(r) = K(s) is exponential in the size of s.