Title | The average length of keys and functional dependencies in (random) databases |
Publication Type | Conference Paper |
Authors | Demetrovics, J., G. O. H. Katona, D. Miklos, O. Seleznjev, and B. Thalheim |
Year | 1995 |
Pages | 266 - 279 |
Conference Name | Lecture Notes in Comput. Science |
Language | eng |
ISBN Number | 0302-97433540589074 |
Notes | exported from refbase (http://www.bibliography.ceu.hu/show.php?record=6231), last updated on Mon, 02 Nov 2009 12:13:44 +0100 |
Abstract | Practical database applications engender the impression that sets of constraints are rather small and that large sets are unusual and caused by bad design decisions. Theoretical investigations show, however, that minimal constraint sets are potentially very large. Their size can be estimated to be exponential in terms of the number of attributes. The gap between belief and theory causes non-acceptance of theoretical results. However, beliefs are related to average cases. The theory known so far considered worst case complexity. This paper aims at developing a theory of average case complexity. Several statistic models and asymptotics of corresponding probabilities are investigated for random databases. We show that exponential complexity of independent key sets and independent sets of functional dependencies is rather unusual. Depending on the size of relations almost all minimal keys have a length which mainly depends on the size. The number of minimal keys of other length is exponentially small compared with the number of minimal keys of the derived length. Further, if a key is valid in a relation then it is probably the minimal key. The same results hold for functional dependencies. |