Transactional Middleware Log Persistence via Clustered Database Replication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Transactional middleware systems face challenges in disaster recovery due to the inefficiencies in persisting and replicating transactional log information, particularly when relying on flat files, which can lead to prolonged recovery times and increased complexity.

Innovation Solution

The system utilizes a clustered database to persist and replicate transactional log information across sites, leveraging high availability capabilities to enable swift disaster recovery by writing logs into a database that replicates across local and remote sites, reducing the need for distributed file systems and simplifying configuration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If transactional log information is persisted using flat files, then the system structure is simple, but the disaster recovery time is prolonged and complexity increases

Engineering Contradiction:
Improvesystem structureVSAvoiddisaster recovery time
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent replaces the mechanical flat-file system with a database management system that provides automated replication and recovery capabilities. The database engine substitutes manual file management operations with automated data persistence and recovery mechanisms, resolving the contradiction between structural simplicity and recovery speed.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system performs preliminary actions by replicating transactional log information to a standby database before disasters occur. This pre-positioning of data ensures that recovery can begin immediately upon failure, eliminating the time-consuming process of reconstructing logs after a disaster.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If distributed file systems are used for log replication, then the system can achieve high availability, but the configuration complexity increases

Engineering Contradiction:
Improvehigh availabilityVSAvoidconfiguration complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The database management system serves multiple functions simultaneously: it acts as the primary transaction log repository, performs automated replication to standby systems, manages data consistency, and handles recovery operations. This multi-functionality eliminates the need for separate distributed file system configurations while achieving the same high availability goals.

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

Solution Approach 2:

The database management system serves as an intermediary layer between the transactional middleware and the underlying storage infrastructure. It abstracts the complexity of data replication and distribution, providing a unified interface that simplifies configuration while maintaining high availability through automated backup and recovery mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If transaction logs are replicated across multiple sites, then disaster recovery capability is improved, but the data synchronization complexity increases

Engineering Contradiction:
Improvedisaster recovery capabilityVSAvoiddata synchronization complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The database replication system implements feedback mechanisms that automatically monitor the synchronization status between primary and standby databases. When data changes occur, the system detects these changes and automatically propagates them to replicated sites, ensuring consistency without requiring complex manual synchronization protocols.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The replication system operates autonomously, automatically detecting data changes, initiating replication operations, and managing synchronization across multiple sites without external intervention. This self-service capability eliminates the need for complex external synchronization orchestration while maintaining data consistency across distributed locations.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9110851B2System and method for persisting transaction records in a transactional middleware machine environment
Publication Date: 2015.08.18 ORACLE INT CORP
  • US9110851B2 patent drawing
  • US9110851B2 patent drawing
  • US9110851B2 patent drawing

AI summary

A transactional system can utilize the distributed storage and high availability (HA) capability provided by a clustered database to support easy and feasible disaster recovery. The transactional middleware machine environment comprises one or more transactional application servers associated with a transaction. The one or more transactional application servers operate to persist transactional log information associated with the transaction in a database that connects with said one or more transactional application servers at a local site. The database at the local site operates to replicate the persisted transactional log information to a remote database at a remote site. The remote database allows a different transactional application server at the remote site to recover the persisted transactional log information and complete the transaction, when a disaster disables the local site.