|
| | | |
Letting Keys and Functional Dependencies out of the Bag
Link, S. and Memari, M.
Classical database theory is largely a theory of relations. Relations are sets of tuples in which no duplicate tuples occur. In practice, duplicate elimination is an operation that is considered to be too expensive in many situations. Fundamental classes of integrity constraints interact differently over bags than they do over relations. This holds for keys and functional dependencies, for example. In this paper, we establish algorithms that compute Armstrong bags for any given set of keys and functional dependencies. These are bags which satisfy the given set of keys and functional dependencies, but violate all keys and functional dependencies not implied by the given set. Armstrong bags perfectly visualize abstract sets of constraints, and can be used by database designers to effectively communicate perceptions or states of a database. Subsequently, we show how existing algorithms to discover functional dependencies in relations can be adapted to discover keys and functional dependencies in bags. |
Cite as: Link, S. and Memari, M. (2013). Letting Keys and Functional Dependencies out of the Bag. In Proc. Conceptual Modelling 2013 (APCCM 2013) Adelaide, Australia. CRPIT, 143. Ferrarotti, F. and Grossmann, G. Eds., ACS. 41-50 |
(from crpit.com)
(local if available)
|
|