Database Replication Error Recovery Using Supervised Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud computing environments, identifying and classifying errors during database replication is a tedious and time-intensive process, lacking automated mechanisms for distinguishing recoverable from unrecoverable errors, which hampers proactive remedial actions and data availability.

Innovation Solution

A method that transforms raw text log data into structured vectors, uses supervised learning to classify errors, and invokes remedial actions for recoverable errors, including notification and execution of recovery jobs, to enhance error management and data integrity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual examination of log files is used to identify and classify errors, then accuracy in distinguishing recoverable from unrecoverable errors can be achieved, but the process becomes tedious and time-intensive

Engineering Contradiction:
Improveerror classification accuracyVSAvoiderror identification time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical examination of log files with an automated machine learning system. The supervised learning model automatically classifies errors by analyzing log file patterns, substituting human expert analysis with algorithmic processing that achieves both high accuracy and scalability without manual intervention.

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

Solution Approach 2:

The system enables self-service error classification through automated machine learning models that independently analyze log files and identify error types. The supervised learning algorithm autonomously processes error logs, classifies them as recoverable or unrecoverable, and triggers appropriate remedial actions without requiring human expert involvement.

Inventive Principle:
Principle #25Self-service

2Productivity

If automated error classification systems are implemented, then processing speed and productivity improve, but system complexity increases

Engineering Contradiction:
Improveerror processing speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-training supervised learning models with labeled error data before deployment. The machine learning system is prepared in advance with learned patterns and classification rules, enabling it to rapidly process new log files without requiring complex real-time decision logic, thus maintaining simplicity while achieving high productivity.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If manual remedial actions are taken for each error, then targeted recovery can be achieved, but the process becomes time-intensive and lacks proactive capability

Engineering Contradiction:
Improveerror recovery effectivenessVSAvoidremedial action time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements feedback mechanisms where the supervised learning model continuously monitors log files, classifies errors in real-time, and automatically triggers remedial actions based on classification results. This closed-loop feedback system enables proactive error handling by immediately responding to detected errors with appropriate recovery actions, improving both reliability and speed.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-service by automatically executing remedial actions based on machine learning classifications. When the supervised learning model identifies a recoverable error, the system autonomously initiates appropriate recovery procedures without requiring manual intervention, thereby maintaining effective error recovery while dramatically reducing remedial action time.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11636071B2Database replication error recovery based on supervised learning
Publication Date: 2023.04.25 SALESFORCE INC
  • US11636071B2 patent drawing
  • US11636071B2 patent drawing
  • US11636071B2 patent drawing

AI summary

System and methods are described for automated recovery from errors occurring during replication of a database. The method includes getting text from one or more log files generated during database replication processing in a cloud computing environment, transforming the text into a structured language form represented by vectors, and identifying patterns in the vectors. The method further includes classifying one or more errors based on the identified patterns using supervised learning as either a recoverable error or an unrecoverable error, analyzing the one or more errors to determine one or more recovery jobs associated with database replication processing in the cloud computing environment for each of the recoverable errors, and invoking the one or more recovery jobs.