One-phase commit in a shared-nothing database system
Abstract
Techniques are provided for handling distributed transactions in shared-nothing database systems where one or more of the nodes have access to a shared persistent storage. Rather than coordinate the distributed transaction using a two-phase commit protocol, the coordinator of the distributed transaction uses a one-phase commit protocol with those participants that have access to the transaction status information maintained by the coordinator. The transaction status information may reside, for example, in the redo log of the coordinator. In the case that the coordinator fails, those participants can determine the state of the distributed transaction based on information stored on the shared disk. In addition, the coordinator is able to determine whether it is possible to commit the distributed transaction based on information that is stored on the shared disk by the participants, without those participants entering a formal “prepared” state.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 32.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for performing a distributed transaction in a shared-nothing database system, the method comprising: on a first shared-nothing node of said shared-nothing database system, causing a coordinator that is coordinating the distributed transaction to store information that indicates status of said distributed transaction on a persistent storage device; wherein the persistent storage device is accessible to a participant that is to perform one or more operations as part of said distributed transaction; wherein the participant resides on a second shared-nothing node of said shared-nothing da
- Claim 2Depends on #1
The method of claim 1 wherein
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗