Single Phase Transaction Commits for Distributed Database Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed database systems face complexity and high overhead in maintaining reliability and efficiency due to the need for multiple-phase commit protocols, which are prone to coordination errors and require significant overhead in managing transactions across multiple nodes.

Innovation Solution

Implementing single phase transaction commits, where updates and log records are persisted as a single transaction at the back-end database, eliminating the need for additional phases and reducing overhead by ensuring consistency without maintaining transaction status across multiple nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple-phase commit protocols are used to maintain reliability across distributed nodes, then transaction consistency is improved, but system complexity and coordination overhead increase

Engineering Contradiction:
Improvetransaction consistencyVSAvoidcommit protocol complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the transaction status tracking requirement from the commit protocol itself and relocates it to the transaction initiator. The initiator maintains a status table that tracks the state of each transaction across distributed nodes, eliminating the need for complex coordination protocols at each node. This extraction simplifies the commit protocol while maintaining reliability through centralized status tracking.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary status table that mediates between the transaction initiator and distributed nodes. This status table acts as a central coordination point that tracks transaction states without requiring complex inter-node communication protocols. The intermediary simplifies coordination by providing a single source of truth for transaction status.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If multiple-phase commit protocols are implemented to ensure reliability, then transaction consistency is improved, but processing overhead and time increase

Engineering Contradiction:
Improvetransaction consistencyVSAvoidtransaction processing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs preliminary action by having the transaction initiator pre-establish and maintain the status table before transactions occur. This pre-positioning of the coordination mechanism eliminates the need for multiple coordination phases during actual transaction processing. The status table is ready in advance to track transaction states, reducing processing overhead and improving transaction throughput.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent skips the traditional multiple-phase commit coordination steps by using the pre-established status table to directly track and manage transaction states. Instead of rushing through multiple coordination phases with inter-node communication, the system rushes through a simplified single-phase commit process where the initiator directly manages status, significantly reducing transaction processing time.

Inventive Principle:
Principle #21Skipping (Rushing through)

3Reliability

If transaction status is tracked across multiple nodes to ensure reliability, then consistency is improved, but system overhead and resource consumption increase

Engineering Contradiction:
Improvetransaction consistencyVSAvoidsystem overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent merges the transaction status tracking function into a single centralized status table maintained by the transaction initiator, rather than distributing status tracking across multiple nodes. This consolidation eliminates redundant status information storage at each node, reducing memory overhead and simplifying the system architecture while maintaining consistency through centralized control.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The status table serves multiple functions: it tracks transaction states, coordinates commits, and provides a single source of truth for consistency verification. This multi-functional design eliminates the need for separate coordination mechanisms at each node, reducing overall system overhead while maintaining reliability through the universal status tracking mechanism.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9600500B1Single phase transaction commits for distributed database transactions
Publication Date: 2017.03.21 AMAZON TECH INC
  • US9600500B1 patent drawing
  • US9600500B1 patent drawing
  • US9600500B1 patent drawing

AI summary

A distributed database system may perform a single phase commit for transactions involving updates to multiple databases of the distributed database system. A client request may be received that involves updates to multiple database of the distributed database system. The updates may be performed at a front-end database and a back-end database. Log records indicating the updates to the front-end database may be sent to the back-end database. The log records and the updates performed at the back-end database may be committed together as a single phase commit at the back-end database. In the event of a system failure of the front-end database, log records may be requested and received from the back-end database. A restoration of the front-end database may be performed based, at least in part, on the received log records.