Abstract
A new correctness criterion for schedules of update transactions is proposed, which captures users' intended changes to the database. This is motivated by the observation that traditional serializability may lead to anomalies by not taking into account semantics related to such intended changes. The alternate criterion — goal-correctness — is orthogonal to serializability, and is based on realizing goals associated with each transaction. The problems involved in goal-oriented concurrency control are first identified in a general framework. The analysis suggests that this approach is practical only for restricted transaction languages where goals can be inferred and manipulated efficiently. One such language is then considered, capturing a class of updates of practical interest. For this language it is shown that goal-oriented concurrency control is tractable and compares favorably to serializability with respect to complexity: testing goal-correctness takes polynomial time, while testing serializability is NP-complete. The sets of schedules which are correct with respect to the two criteria are incomparable. Thus, goal-correctness may allow increased concurrency. The results highlight the feasibility and advantages of goal-oriented concurrency control in restricted frameworks. The paper focuses on the static aspects of goal-oriented concurrency control. A conservative approach to the dynamic generation of goal-correct schedules is briefly sketched.
This author was supported in part by the National Science Foundation, under grant number IST-8511538.
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho, J.D. Ullman: University of Data Retrieval Languages; Proc. 6th ACM POPL 1979, 110–117
S. Abiteboul, V. Vianu: Transactions in Relational Databases; Proc. 10th VLDB 1984, 46–56
S. Abiteboul, V. Vianu: Equivalence and Optimization of Relational Transactions; Journal of the ACM 35, 1988, 70–120
S. Abiteboul, V. Vianu: Transactions and Integrity Constraints; Proc. 4th ACM PODS 1985, 193–204
S. Abiteboul, V. Vianu: A Transaction-Based Approach to Relational Database Specification; submitted for publication 1987
C. Beeri, M.Y. Vardi: Formal Systems for Tuple and Equality Generating Dependencies; SIAM Journal on Computing 13, 1, 1984, 76–98
P.A. Bernstein, V. Hadzilacos, N. Goodman: Concurrency Control and Recovery in Database Systems; Addison-Wesley 1987
M.A. Casanova: The Concurrency Control Problem for Database Systems; Springer LNCS 116, 1981
A.K. Chandra, D. Harel: Computable Queries for Relational Databases; JCSS 21, 1980, 156–178
M. Genesereth, N. Nilsson: Logical Foundations of Artificial Intelligence; Morgan Kaufmann 1987
G. Gardarin, P. Lebeux: Scheduling Algorithms for Avoiding Inconsistency in Large Databases; Proc. 3rd VLDB 1977, 501–506
N. Goodman, D. Shasha: Semantically-based Concurrency Control for Search Structures; Proc. 4th ACM PODS 1985, 8–19
J. Gray: Notes on Data Base Operating Systems; in: R. Bayer, M.R. Graham, G. Seegmuller (eds.): Operating Systems — An Advanced Course; Springer LNCS 60 (1978) 393–481
R. Hull: Relative Information Capacity of Simple Relational Database Schemata; SIAM J. on Computing 15, 1986, 856–886
D. Harel: First-Order Dynamic Logic; Springer LNCS 68, 1979
A. Karabeg, D. Karabeg, K. Papakonstantinou, V. Vianu: Axiomatization and Simplification Rules for Relational Transactions; Proc. 6th ACM PODS 1987, 254–259
H.F. Korth, G.D. Speegle: Formal Model of Correctness Without Serializability; Proc. ACM SIGMOD Conf. 1988, 379–386
D. Maier: The Theory of Relational Databases; Computer Science Press 1983
D. Maier, A.O. Mendelzon, Y. Sagiv: Testing Implications of Data Dependencies; ACM TODS 4 (1979) 455–469
C.H. Papadimitriou: The serializability of concurrent database updates; JACM 26, 1979, 631–653
A. Tuzhilin, P. Spirakis: A Semantic Approach to Correctness of Concurrent Transaction Executions; Proc. 4th ACM PODS 1985, 85–95
J.D. Ullman: Principles of Database Systems; Computer Science Press 1982, 2nd ed.
V. Vianu, G. Vossen: Conceptual Level Concurrency Control of Relational Update Transactions (Extended Abstract); Proc. 2nd ICDT, Bruges, Belgium 1988, Springer LNCS 326, 353–367
M. Winslett: Sometimes Updates are Circumscription; manuscript, 1988
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1989 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Vianu, V., Vossen, G. (1989). Goal-oriented concurrency control. In: Demetrovics, J., Thalheim, B. (eds) MFDBS 89. MFDBS 1989. Lecture Notes in Computer Science, vol 364. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-51251-9_26
Download citation
DOI: https://doi.org/10.1007/3-540-51251-9_26
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-51251-6
Online ISBN: 978-3-540-46182-1
eBook Packages: Springer Book Archive