|
ABSTRACT
The maintenance problem of a database scheme is the following decision problem: Given a consistent database state &rgr; and a new tuple u over some relation scheme of &rgr;, is the modified state &rgr; ∪ {u} still consistent? A database scheme is said to be constant-time-maintainable(ctm) if there exists an algorithm that solves its maintenance problem by making a fixed number of tuple retrievals. We present a practically useful algorithm, called the canonical maintenance algorithm, that solves the maintenance problem of all ctm database schemes within a "not too large" bound. A number of interesting properties are shown for ctm database schemes, among them that non-ctm database schemes are not maintainable in less than a linear time in the state size. A test method is given when only cover embedded functional dependencies (fds) appear. When the given dependencies consist of fds and the join dependency (jd) ⋈ R of the database scheme, testing whether a database scheme is ctm is reduced to the case of cover embedded fds. When dependency-preserving database schemes with only equality-generating dependencies (egds) are considered, it is shown that every ctm database scheme has a set of dependencies that is equivalent to a set of embedded fds, and thus, our test method for the case of embedded fds can be applied. In particular, this includes the important case of lossless database schemes with only egds.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
AHO, A. V., SAGIV, Y., AND ULLMAN, J. D. Equivalence among relational expressions. SIAM J. Comput. 8, 2 (1979), 218-246.
|
 |
3
|
|
| |
4
|
ARMSTRONg, W.W. Dependency structures of data base relationships. In Proceedings of the IFIP Congress, 1974. North-Holland, Amsterdam, 1974, pp. 580-583.
|
 |
5
|
|
 |
6
|
|
| |
7
|
BEERI, C., AND HONEYMAN, P. Preserving functional dependencies. SIAM J. Comput. 10, 3 (1981), 647-656.
|
| |
8
|
BEERI, C., ANn VARDI, M.Y. Formal systems for tuple and equality generating dependencies. SIAM J. Comput. 13, i (Feb. 1984), 76-98.
|
 |
9
|
|
 |
10
|
|
 |
11
|
|
 |
12
|
|
 |
13
|
|
 |
14
|
|
 |
15
|
|
| |
16
|
GRAHAM, M. H., AND MENDELZON, A. O. On the power of canonical queries. Unpublished manuscript, 1983.
|
 |
17
|
|
 |
18
|
|
| |
19
|
GRAHAM, M. H., AND YANNAKAKIS, M. Independent database schemes, J. Comput. Syst. Sci. 28, I (Feb. 1984), 121-141.
|
 |
20
|
|
 |
21
|
|
| |
22
|
|
 |
23
|
|
| |
24
|
ITO, M., IWASAKI, M., AND KASAM, T. Some results on the representative instances in relational databases. SlAM J. Comput. 14, 2 (May 1985), 334-353.
|
| |
25
|
|
| |
26
|
MAmR, D., ULLMAN, J. D., AND VARm, M.Y. On the foundations of the universal relational model. ACM Trans. Database Syst. 4, 4 (Dec. 1979), 455-469.
|
 |
27
|
|
| |
28
|
|
 |
29
|
|
 |
30
|
|
 |
31
|
|
 |
32
|
|
| |
33
|
|
| |
34
|
|
| |
35
|
|
 |
36
|
|
| |
37
|
YANr~AKAKIS, M. Algorithms for acyclic database schemes. In Proceedings of Very Large Databases, 1981 (Cannes, France, Sept 9-11, 1981) ACM, New York, 1981, pp. 82-94.
|
| |
38
|
YANNAKAKIS, M., AND PAPADIMITROU, C.H. Algebraic dependencies J Comput Syst. Scl 25, 1 (Aug. 1982), 2-41.
|
INDEX TERMS
Primary Classification:
H.
Information Systems
H.2
DATABASE MANAGEMENT
H.2.1
Logical Design
Subjects:
Schema and subschema
Additional Classification:
F.
Theory of Computation
F.4
MATHEMATICAL LOGIC AND FORMAL LANGUAGES
F.4.1
Mathematical Logic
Subjects:
Mechanical theorem proving
H.
Information Systems
H.2
DATABASE MANAGEMENT
H.2.0
General
Subjects:
Security, integrity, and protection**
H.2.1
Logical Design
Subjects:
Normal forms
General Terms:
Algorithms,
Design,
Theory
Keywords:
chase,
constraint enforcement,
functional dependency,
independent database schemes,
join dependency,
lossless join,
relational database,
representative instance,
tableau
REVIEW
"Riccardo Torlone : Reviewer"
A relational database scheme is independent if the global
consistency of an instance with respect to a given set of integrity
constraints can be verified locally, looking at the individual
relations. It follows that, for independent schemes, i
more...
|