skip to main content
article
Free access

Formal aspects of concurrency control in long-duration transaction systems using the NT/PV model

Published: 01 September 1994 Publication History

Abstract

In the typical database system, an execution is correct if it is equivalent to some serial execution. This criterion, called serializability, is unacceptable for new database applications which require long-duration transactions. We present a new transaction model which allows correctness criteria more suitable for these applications. This model combines three enhancements to the standard model: nested transactions, explicit predicates, and multiple versions. These features yield the name of the new model, nested transactions with predicates and versions, or NT/PV.
The modular nature of the NT/PV model allows a straightforward representation of simple systems. It also provides a formal framework for describing complex interactions. The most complex interactions the model allows can be captured by a protocol which exploits all of the semantics available to the NT/PV model. An example of these interactions is shown in a CASE application. The example shows how a system based on the NT/PV model is superior to both standard database techniques and unrestricted systems in both correctness and performance.

References

[1]
AGRAWAL, D., AND SENGUPTA, S. 1989. Modular synchronizatmn in mu}tiverslon databases: Version control and concurrency control. In SIGMOD International Conference on Management of Data. ACM, New York, 408 417.
[2]
BANCILHON, F., KIM, W., AND KORTH, H.F. 1985 A model of CAD transactions. In Proceedmgs of the 11th International Conference on Very Large Databases VLDB Endowment, 25-33.
[3]
BARGHOUTI, N., AND KAISER, G. 1991. Concurrency control in advanced database apphcations. ACM Cornput Surv. 23, 3, 269 318
[4]
BEERI, C., BERNSTEIN, P. A, AND GOODiVlAN, N. 1989. A model for concurrency in nested transaction systems J ACM 36, 2 (Apr.), 230 269.
[5]
BERNSTEIN, P. A., HADZILACOS, V., AND GOODMAN, N. 1987. Concurren~~ Control and Recovery m Database Systems Addison-Wesley, Reading, Mass.
[6]
CHRYSANTHIS, P., AND RAMAMRITHAM, K. 1992 ACTA: The SAGA continues. In Database Transaction Models, A. Elmagarmid, Ed., Morgan Kaufinann, San Mateo, Calif., 349-398.
[7]
CHRYSANTmS, P., A~~r~ R^M~MRiTn~L K. 1990. ACTA: A framework for specifymg and reasoning about transaction structure and behavlor. In Proceedmgs of the 1990 ACM SIGMOD Internatzonal Conference on Monagement of Data ACM, New York, 194-203.
[8]
CONKLIN, J., AND BEGEMAN, M. 1988a. glBIS: A hypertext tool for exploratory policy discussion. ACM Trans. Inf OEvst 6, 4 (Oct.) 303 331.
[9]
CONKL~N, J., AND BEGEMAN, M. 1988b. glBIS: A hypertext tool for team design deliberatmn. Tech. Rep. STP-016-88, MCC, Austro, Tex
[10]
DAYAL, U., HSU, M., AND L^mN, R. 1990. Organizmg long-running actiwtms with triggers and transactions. In Proceedtngs of the 1990 ACM SIGMOD Internatmnal Conference on Munagemenl of Data. ACM, New York, 204-214.
[11]
Du, H. C., AND GHANT^, S. 1987. A framework for efficient IC/VLSI CAD databases. In Procee&ngs of the 13th Internatmnal Conference on Verv Large Databases. VLDB Endowment, 619 625.
[12]
ELMAGARMID, A, LEU, Y., L1TWIN, W., AND RUSINKIEWICZ, M. 1990. A mult~database transaction model for interbase. In Proceedzngs of the 16th InternatmlmI Conference on Very Large Databa.se,s VLDB Endowment, 507 518.
[13]
ESWAREN, K, GRAY, J., LORIE, t~, AND TRAIGER, I. 1976. The notions of cons~stency and predicate locks m a database system. Commun. ACM 19, 11 (Nov.), 624-633
[14]
FARRAG, A. A., AND OZSU, M.T. 1989 Usmg semantic knowledge of transactions to increase concurrency. ACM Trans. Database Syst. 14, 4 (Dec.) 503-525.
[15]
GARCI^-MOHNA, H. 1983. Using semantic knowledge for transaction processing in a distributed database. ACM Trans. Database OEvst. 8, 2 (June), 186-213.
[16]
GRAY, J., LOmE, A., PUTZOLU, G., AND TRAIOER, I. 1975. Granulanty of locks degTees of consistency in a shared database. Res. Rep. RJ 1654, IBM, San Jose, Calif., Sept.
[17]
GUINDON, R., AND CURTIS, B. 1988. Control of cognitive processes during software design: What tools are needed? In Conference on Computer Human Irlterfaces.
[18]
GUINI)ON, R., CURTIS, B., AND KRASNER, n. 1988. A mode} of cogmtive processes in software design: An analyms of breakdowns m early design actlwties by indJviduals. Tech. Rep., MCC, Austro, Tex.
[19]
GUINDON, R., KRASNER, H, AND CURTIS, B 1987. Breakdowns and processes during the early activities of software design by professionals Tech. Rep., MCC, Austin, Tex.
[20]
HASKIN, R., AND LORIE, R. 1982 On exten~ing the functions of a relationl database system. In SIGMOD Internatmnal Conferelme on Management of Data. ACM, New York, 207 212.
[21]
K~TZ, R. 1982. A database approach for managing VLSI design data. In 19th Design Automation Conference. IEEE, New York, 274-282.
[22]
I~M, W. 1990. Introduction to Object-Oriented Databases. MIT Press, Cambridge, Mass.
[23]
KIM, W., LORIE, R., McNABB, D., AND PLOUFFE, W. 1984. A transaction mechanism for engineering design databases. In Proceed~ngs of the lOth International Conference on Very Large Databases. VLDB Endowment, 355-362.
[24]
KoRTn, H. F., Locking primitives in a database system. 1983. J. ACM 30, I (Jan.), 55 79.
[25]
KORTH, H. F., AND SPEEGLE, G. 1990a. Encapsulation of transaction management in object databases. In Proceed~ngs of the Workshop on Transactions and Objects, 27 32.
[26]
KORTn, H. F., ~r~D SP~~;OLE, G. 1990b. Intra-transaction concurrency control and the NT/PV model. Tech. Rep. TR-90-26, Univ. of Texas.
[27]
KORTH, S. F., AND SPEEGLE, G. 1990c. Long duration transactions in software design projects. In 6th International Conference on Data Engineer~ng. IEEE, New York, 568-574.
[28]
KORTH, H. F., AND SPEEOLE, G. 1988. Formal model of correctness without serializability. In SIGMOD I, ternatlonal Conference on Management of Data. ACM, New York, 379-386.
[29]
KORTH, H. F., KIM, W., AND BANCILHON, F. 1989. On long-duration CAD transactions. In Readings tn Object-Oriented Database, S. Z-donik and D. Maier, Eds. Morgan- Kaufmann, San Mateo, Calif.
[30]
KORTH, H. F., KIM, W., AND BANCILHON, F. 1988. On long-duration CAD transactions. Inf. Scz. 46 IOct.), 73-107.
[31]
KORTH, H. F., LEVY, E., AND SILBERSCHATZ, A. 1990. Formal approach to recovery by compensating transactions. In Poceedings of the 16th International Conference on Very Large Databases. VLDB Endowment, 95-106.
[32]
LoI~IE, R., AND PLOUPFE, W. 1983. Relational databases for engineering data. Res. Rep. RJ 3847 (43914), IBM, San Jose, Calif.
[33]
LYNCH, N. 1983. Multilevel atomicity--a new correctness criterion for database concurrency control. ACM Trans. Database Syst. 8, 4 (Dec.), 484 502.
[34]
L~c~, N. 1986. Concurrency controt for resilient nested transactions. In Advances ~n Computing Research The Theory of Databases. Vol. 3. Springer-Verlag, New York, 335-373.
[35]
McCUNE, W., AND HENSCHEN, L. 1989. Maintainmg state constraints in relational databases: A proof theoretic basis. J ACM 36, i (Jan.), 46 68.
[36]
Moss, J. E.B. 1985 Nested Transactions~n Approach to Reliable Distributed Computmg. The MIT Press, Cambridge, Mass.
[37]
PAPADIMITRIOU, C. 1986. The Theory of Database Concurrency Control. Computer Science Press, Rockvilte, Md.
[38]
REDDY, Y., SRINIVAS, K., JAGANNATHAN, V., AND KARINTHL R. 1993. Computer support for concurrent engineering. Computer 26, i (Jan.), 12-16.
[39]
REED, D. 1983. Implementing atomic actions on decentra}ized data. ACM Trans. Comput. Syst. 1, I (Feb.), 3-23
[40]
SPEEGL~, G. 1990. The NT/PV model: A new representation for long-duration transaction systems. Ph.D. thesis, Univ. of Texas, Austin, Aug.
[41]
SPE~:GLE, G., AND GORDON, A. 1992. Quantifying the benefits of semantics. In Proceed~ngs 20th ACM Computer Science Conference. ACM, New York, 423-430.
[42]
WEIKUM, G. 1991. Principles and reahzation strategies of multilevel transaction managment. ACM Trans. Database Syst. 16, i (Mar.), 132 180.

Cited By

View all

Recommendations

Reviews

Fred J. Maryanski

Long-duration transactions require criteria beyond serializability to ensure the correctness of an execution. Korth and Speegle's NT/PV model utilizes nested transactions, explicit predicates, and multiple versions to represent the semantics of long-duration transactions. The model defines correctness by imposing restrictions on the executions of transactions. The VPC protocol for correct executions uses partial ordering to create a version set that a transaction may access. Under VPC, transactions satisfy user-supplied correctness predicates and do not commit until all subtransactions terminate. The authors provide a proof of correctness and illustrate the operation of the protocol via an extensive hypothetical example. This work builds on prior research in the area in a coherent manner and appears to present a firm foundation for integration into a complete DBMS.

Özgür Ulusoy

A transaction model is presented that provides a basis for developing new correctness criteria that allow more concurrency for long-duration transactions than the traditional serializability criterion. The proposed transaction model, called the NT/PV model, incorporates three semantic enhancements to the standard model: nested transactions, explicit predicates, and multiple versions. These enhancements enable the model to capture the semantics of long-duration transaction systems. Following a formal presentation of the NT/PV model, the authors show that the features found in multilevel transaction frameworks and predicate-based systems are combined in this model. A concurrency control protocol that allows only NT/PV-correct executions is provided and proven to be correct. The paper also provides a detailed example from the cooperative software design field that fully exploits the NT/PV model. The paper is a good piece of theoretical work. It is well organized and quite readable for researchers familiar with the theory of concurrency control. The list of citations is also helpful. I recommend this paper to anyone interested in transaction processing in database systems.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Database Systems
ACM Transactions on Database Systems  Volume 19, Issue 3
Sept. 1994
169 pages
ISSN:0362-5915
EISSN:1557-4644
DOI:10.1145/185827
  • Editor:
  • Won Kim
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1994
Published in TODS Volume 19, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. concurrency control protocol
  2. semantic information
  3. transaction processing

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)80
  • Downloads (Last 6 weeks)13
Reflects downloads up to 23 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media