Efficient methods and systems for consistent read in record-based multi-version concurrency control
Abstract
System and method embodiments are provided for consistent read in a record-based multi-version concurrency control (MVCC) in database (DB) management systems. In an embodiment, a method in a record-based multi-version concurrent control (MVCC) database (DB) management system for a snapshot consistent read includes copying a system commit transaction identifier (TxID) and a current log record sequence number (LSN) from a transaction log at a start of a reader without backfilling of a commit LSN of a transaction to records that are changed and without copying an entire transaction table by the reader; and determining whether a record is visible according to a record TxID, the commit TxID and a current LSN, wherein a transaction table is consulted only when the record TxID is equal to or larger than a commit TxID at a transaction start.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method in a record-based multi-version concurrent control (MVCC) database (DB) management system for a snapshot consistent read, the method comprising: copying a system commit transaction identifier (TxID) and a current log record sequence number (LSN) from a transaction log at a start of a reader without backfilling of a commit LSN of a transaction to records that are changed and without copying an entire transaction table by the reader; and determining whether a record is visible according to a record TxID, the commit TxID and a current LSN, wherein a transaction table is consulted only wh
- Claim 2Depends on #1
The method of claim 1 , wherein determining whether the record is visible comprises determining that the record is visible when a creation TxID of the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Becker, B., "An Asymptotically Optimal Multiversion B-Tree," The VLDB Journal 5, 1996, pp. 264-275.
- Bober, P. et al., "Indexing for Multiversion Locking: Alternatives and Performance Evaluation," IEEE Transactioins on Knowledge and Data Engineering, vol. 9, No. 1, Jan.-Feb. 1997, pp. 68-84.
- Comer, D., "The Ubiquitous B-Tree," ACM Computing Surveys, vol. 11, No. 2, Jun. 1979, pp. 121-137.
- Graefe, G., "Modern B-Tree Techniques,"Foundations and Trends in Databases, vol. 3, No. 4, 2010, pp. 203-402, DOI: 10.1561/1900000028.
- International Search Report and Written Opinion of the International Searching Authority received in Patent Cooperation Treaty Application No. PCT/CN2015/074928 mailed Jun. 15, 2015, 13 pages.