Selective Uncommitted Read for Database Transactions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database systems face inefficiencies in processing transactions due to lock management techniques and isolation levels, which consume computing resources and cause processing delays, especially when handling uncommitted reads that may result in incorrect or incomplete results.

Innovation Solution

The system enables transaction-specific, selective uncommitted read operations, allowing a snooping transaction to perform uncommitted reads on a target transaction independently of the existing isolation level, thereby reducing risks and optimizing processing speed while maintaining data consistency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If lock management techniques and isolation levels are used to ensure data consistency, then data accuracy is improved, but processing speed and resource efficiency deteriorate

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the read operation into two distinct paths: standard reads that adhere to isolation levels and uncommitted reads that bypass them. This segmentation allows the system to maintain data consistency for committed transactions while enabling faster uncommitted reads for operations that can tolerate potential inconsistency, thus resolving the contradiction between reliability and productivity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic control over read operations by allowing transactions to selectively opt-in to uncommitted reads when appropriate. This dynamic approach enables the system to adaptively choose between strict isolation (for reliability) and relaxed isolation (for speed) based on the specific transaction's needs, resolving the contradiction between data consistency and processing speed.

Inventive Principle:
Principle #15Dynamics

2Reliability

If lock management techniques and isolation levels are used to ensure data consistency, then data accuracy is improved, but computing resource consumption increases

Engineering Contradiction:
Improvedata consistencyVSAvoidcomputing resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent segments read operations into committed and uncommitted paths, allowing transactions to choose the uncommitted path when data consistency can be achieved through other means. This segmentation reduces the need for expensive lock management and isolation level enforcement for all reads, thereby reducing computing resource consumption while maintaining reliability where necessary.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent enables transactions to self-determine whether they can tolerate uncommitted reads based on their own requirements. By allowing transactions to autonomously opt-in to uncommitted reads when appropriate, the system reduces the overhead of universal lock management and isolation level enforcement, thereby reducing computing resource consumption while maintaining data consistency for transactions that require it.

Inventive Principle:
Principle #25Self-service

3Productivity

If uncommitted reads are allowed to increase processing speed, then productivity is improved, but data accuracy deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoiddata accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces dynamic control over read operations by allowing transactions to selectively opt-in to uncommitted reads when appropriate. This dynamic approach enables the system to adaptively choose between strict isolation (for reliability) and relaxed isolation (for speed) based on the specific transaction's needs, resolving the contradiction between data consistency and processing speed.

Inventive Principle:
Principle #15Dynamics

4Productivity

If uncommitted reads are allowed to increase processing speed, then productivity is improved, but processing delays and bottlenecks increase due to resource consumption

Engineering Contradiction:
Improveprocessing speedVSAvoidprocessing delays
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments read operations into committed and uncommitted paths, allowing transactions to choose the uncommitted path when data consistency can be achieved through other means. This segmentation reduces the need for expensive lock management and isolation level enforcement for all reads, thereby reducing computing resource consumption and associated processing delays while maintaining reliability where necessary.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10990585B2Transaction-specific selective uncommitted read for database transactions
Publication Date: 2021.04.27 SAP SE
  • US10990585B2 patent drawing
  • US10990585B2 patent drawing
  • US10990585B2 patent drawing

AI summary

Techniques are described for use in database and data management systems to enable a database transaction to read uncommitted data from another database transaction on a selective (e.g., transaction-specific) basis, without requiring a change in the isolation level of either transaction (or related transactions). Accordingly, transaction speeds may be increased, and operations to audit or debug ongoing database transactions are also facilitated.