Distributed multi-version commitment ordering protocols for guaranteeing serializability during transaction processing
Abstract
In a multi-version database, copies of prior committed versions (snapshots) are kept for access by the read-only transactions. The read-write transactions are selectively aborted to enforce an order of commitment of read-write transactions that is the same as an order of conflicts among the read-write transactions. In a preferred embodiment, the read-write transactions are serialized by maintaining and referencing a graph of conflicts among read-write transactions, and the read-only transactions are serialized by a timestamp mechanism for selection of the snapshots to be read. Each time that a read-write transaction is committed, the read-write transaction is assigned a unique timestamp that is used to timestamp all resources committed by the read-write transaction. Upon starting, each read-only transaction is also assigned a timestamp. Each read-only transaction reads only the latest committed versions of all resources, that are timestamped earlier than the timestamp of the read-only transaction. In a multiprocessing system, the timestamps are issued to global coordinators and distributed locally with atomic commit messages and global queries. Moreover, read-write transactions may
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 523.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of operating a digital computer to process read-write transactions and read-only transactions in a computer system, said method comprising the steps of: a) beginning preparation of results of said transactions; b) determining an order of conflicts among said read-write transactions; c) committing to memory state of said computer system prepared results of a selected one of said read-write transactions; d) aborting an abort set of said read-write transactions for which commitment is contrary to said order of conflicts and said committing to memory state of said computer system sa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 523 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Agrawal et al., "An Approach to Eliminate Transaction Blocking in Locking Protocols," Proc. of the Eleventh ACM Symposium on Principles of Database Systems, San Diego Calif. (Jun. 1992), pp. 223-235.
- Agrawal et al., "Locks with Constrained Sharing," Proceedings of the Nineth ACM Symposium on Principles of Database Systems, Association for Computing Machinery, New York, N.Y. (Apr. 1990), pp. 85-93.
- Agrawal et al., "Modular Synchronization in Multiversion Databases: Version Control and Concurrency Control," Proc. of the 1989 ACM SIGMOD Int. Conf. on Management of Data, pp. 408-417, Portland, Oregon, Jun., 1989 Association for Computing Machinery, New York N.Y.
- Agrawal et al., "Performance Characteristics of Protocols With Ordered Shared Locks," Proceedings of the Seventh IEEE International Conference on Data Engineering, Institute of Electrical and Electronics Engineers, New York, N.Y. (Apr. 1991), pp. 592-601.
- Agrawal et al., "The Performance of Protocols based on Locks with Ordered Sharing," University of California, Department of Computer Science TRCS 92-9, Santa Barbara, California, Apr., 1992.