Skip to main content

1991 | Buch

Dependencies in Relational Databases

verfasst von: Prof. Dr. Bernhard Thalheim

Verlag: Vieweg+Teubner Verlag

Buchreihe : Teubner-Texte zur Mathematik

insite
SUCHEN

Inhaltsverzeichnis

Frontmatter
1. Database Schemes and Databases
Abstract
We attempt a more rigorous definition of the relational database model based on /THAL 88/ as it was originally introduced by E.F. Codd /CODD 70/ using the theory of abstract data types /REI 84/ and especially the approach of /PDGG 88/, /VOSS 87/ and /DEAB 85/. The underlying concept used in the relational model is the same as that used to define a mathematical relation (in set theory and algebra). Simply, a relation is a subset of the Cartesian products of a list of domains, a domain being merely a set of entity values.
Bernhard Thalheim
2. The Relational Algebra
Abstract
Many relational queries can be formulated in terms of expressions whose operands represent relations and whose operators are the relational operations. Codd’s relational algebra is a high-level language in which questions can be put simply and succinctly /CODD 72/. Concepts from relational algebra have been incorporated into the design of several new database query languages, into view conceptions and into the conception of internal database schemata /IMLI 82/. Expressions in relational algebra manipulate tables of information by means of high-level operations such as select, project, and join. In section 2.1. an algebraic language is introduced. The underlying principle in algebraic languages is to consider the information we wanted to select can be expressed in relations obtained by successive application of database operators. In chapter 2.3, we consider the algebraic dependencies as an important application of the algebraic language.
Bernhard Thalheim
3. Some Fundamentals of Dependency Theory
Abstract
This chapter deals with the relationship between logic and relational database theory. The aim of the chapter is to show, by many results published in the literature, how logic can provide a formal support to study classic database problems, and in some cases, how logic can go further, helping first in their comprehension, and then their solution. Logic is just a formal system; many other formal systems have been proposed and applied to databases. In the axiomatic approach, a formal system relies upon an object language, semantics or interpretation of formulas in that language and a proof theory.
Bernhard Thalheim
4. Functional Dependencies
Abstract
Dependencies constitute an inherent property of database systems. They express the different ways that data are associated with each other and therefore, the semantics in relational database schemata. Functional dependence is an important property of a relation. In a relation which verifies some functional dependency, there is a functional connection between the parts of tuples. Functional dependencies can be defined like functions f: X --> Y which are mappings satisfying the conditions:
1
For each element x ϵ X there exists an element y ϵ Y such that f (x) = y.
 
2
For all x, x’ ϵ X: x = x’ implies f (x) = f (x’).
 
Bernhard Thalheim
5. Join Dependencies
Abstract
The decomposition of a relation in a relational database management system is a central issue that has been extensively studied during the last decennium. There are many reasons for decomposing a relation. The most important seem to be
  • smaller relations are easier to understand, to quest and to compute;
  • no orthogonal, redundant information should be included in an unique relation;
  • in distributed databases different components can be located in different sites.
Bernhard Thalheim
6. Inclusion Dependencies
Abstract
The next dependency we will discuss is neither uni-relational nor many-sorted. A great deal of research has gone into understanding single relations, whether they are designed properly. Much less is known about how the relations should fit together. In general, an inclusion dependency (IND) is of the form
$${\text{R < A}}_{\text{1}} {\text{,}}...{\text{,A}}_{\text{m}} {\text{ > }}\underline {\text{c}} {\text{S < B}}_{\text{1}} {\text{,}}...{\text{,B}}_{\text{m}} {\text{ > }}$$
where R and S are predicates (or relation scheme names), and the A1’s and B1’s are attributes of the corresponding schemes. The inclusion dependency holds for a database if each tuple that is a member of the relation corresponding to the left-hand side is also in the relation corresponding to the right-hand side. Hence, IND’s are valuable for database design, since they permit us to selectively define what data must be duplicated in what relations. IND’s, together with FD’s, are perhaps the most important integrity constraints for relational databases. Although IND’s have been extensively utilized for databases, they only recently were subject of theoretical investigations. Their expressive power is not utilized yet. They could, for instance, play a more important role in management of distributed databases (replication).
Bernhard Thalheim
7. Dependencies in Relations with Null Values and Incomplete Informations
Abstract
In many database applications, the knowledge of the real world modeled by the database is incomplete. A lot of research has been devoted to the problem of querying these so-called incomplete databases. In any real-world database, there will be entries having values that are “special”, in the sense that they are not drawn from the value set for that entry. Some of such special values are of the meaning “value unknown”, “item inapplicable”, “value exists but cannot be stored”, “value is not complete classified” etc. (14 different types of null values are well known /ANSI 75/).
Bernhard Thalheim
8. Horizontal Decomposition Dependencies
Abstract
In the study of the relational database model, the vertical decomposition of relations into projections of these relations was emphasized since the introduction in /CODD 72/. The use of vertical decompositions always requires some constraints to be satisfied, for instance a join dependency or a functional dependency, in order to be able to regain the original relation by taking the join of its projections. In /ARDE 80/, /THAL 84/ and AABM 80/ the idea of D. Smith and J. Smith /SMSM 77/, to decompose a relation horizontally into restrictions of these relations, using the union as composition operator, was formalized, using Codd-functional and multivalued dependencies. Such horizontal decompositions /DBPA 83/ are useful in the normalization of schemata in which hidden constraints are involved.
Bernhard Thalheim
9. The Relationship between Dependency Classes
Abstract
In the previous chapters, more than 80 different dependency classes are introduced and considered. In /THAL 86/, more than 600 different references to papers on dependency theory are given. By some authors it was noticed that dependency theory is in a chaotic state. This book should be understood as an attempt to present the most important results on dependency theory. The usefulness of such a great number of different constraints is an open problem. But the variety can be explained as follows:
1
Each new type represents a certain type of semantic constructions.
 
2
Many types are connected with normalization and decomposition theory of databases.
 
3
Some types are generalizations of the previous ones.
 
4
Some types are introduced as special tools for manipulation and control of data.
 
5
Some types improve the utilization of projections of relations or of partition of relations.
 
Bernhard Thalheim
Backmatter
Metadaten
Titel
Dependencies in Relational Databases
verfasst von
Prof. Dr. Bernhard Thalheim
Copyright-Jahr
1991
Verlag
Vieweg+Teubner Verlag
Electronic ISBN
978-3-663-12018-6
Print ISBN
978-3-663-12019-3
DOI
https://doi.org/10.1007/978-3-663-12018-6