Machine Learning Database Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database systems face challenges in detecting and addressing anomalies such as bottlenecks and undesirable behavior, even when performance metrics are not objectively poor, which can lead to abnormal system behavior.

Innovation Solution

A machine learning-based system that trains models using performance metrics like SQL statement performance, CPU utilization, and error rates to detect anomalies and determine remedial actions, which can be executed by the database management system to correct or prevent issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional performance monitoring methods are used, then the system can track basic metrics, but it fails to detect developing anomalies before they cause problems

Engineering Contradiction:
Improveanomaly detection capabilityVSAvoidmonitoring system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces machine learning models as intermediary components between raw performance metrics and anomaly detection. These models process multiple metrics (CPU utilization, memory consumption, I/O operations, query execution time) and translate them into actionable anomaly detections, enabling sophisticated monitoring without requiring complex custom monitoring logic for each metric combination

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements self-service through automated anomaly detection and remediation. The machine learning models continuously analyze performance metrics and automatically identify developing anomalies, reducing the need for manual monitoring and intervention. The system serves itself by autonomously detecting issues before they impact performance

Inventive Principle:
Principle #25Self-service

2Measurement precision

If machine learning models are deployed for anomaly detection, then detection accuracy improves, but computational overhead increases

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-training machine learning models offline using historical performance data. This allows the models to learn anomaly patterns in advance, so during runtime they only need to evaluate pre-processed metrics rather than performing complex training computations. The remediation actions are also predetermined based on detected anomaly types

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements partial action by selectively applying machine learning analysis only when performance metrics indicate potential issues. Rather than continuously running full anomaly detection algorithms on all metrics at all times, the system monitors basic metrics continuously and triggers more intensive ML-based analysis only when thresholds are approached or anomalies are suspected

Inventive Principle:
Principle #16Partial or excessive action

3Speed

If manual monitoring and response to anomalies is used, then system control is maintained, but response time to correct issues is delayed

Engineering Contradiction:
Improveanomaly response speedVSAvoidsystem operation simplicity
Core Design Contradiction:
SpeedVSEase of operation

Solution Approach 1:

The patent implements automated feedback loops where machine learning models continuously monitor performance metrics, detect anomalies, and trigger remediation actions without human intervention. The system provides feedback to itself by automatically executing corrective actions (such as restarting services, clearing caches, or adjusting resource allocation) based on detected anomalies, dramatically reducing response time while maintaining operational simplicity

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system prepares remediation actions in advance for common anomaly types. When an anomaly is detected, the pre-determined remediation strategy is immediately executed, eliminating the delay associated with manual analysis and decision-making. This preliminary preparation of response strategies enables rapid automated response while keeping the system easy to operate

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11106996B2Machine learning based database management
Publication Date: 2021.08.31 SAP SE
  • US11106996B2 patent drawing
  • US11106996B2 patent drawing
  • US11106996B2 patent drawing

AI summary

A method for machine learning based database management is provided. The method may include training a machine learning model to detect an anomaly that is present and/or developing in a database system. The anomaly in the database system may be detected by at least processing, with a trained machine learning model, one or more performance metrics for the database system. In response to detecting the presence of the anomaly at the database system, one or more remedial actions may be determined for correcting and/or preventing the anomaly at the database system. The one or more remedial actions may further be sent to a database management system associated with the database system. Related systems and articles of manufacture are also provided.