Primary Database Health Checks for Preemptive Failover

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computing applications with databases face catastrophic failures due to storage device or host computing device failures, necessitating improved resilience and high availability.

Innovation Solution

A redundancy manager proactively fails over to a secondary database before primary database failure by monitoring health data and selecting a new primary host based on risk assessment, using an orchestrator to manage redundancy and preemptive failover.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional passive failover is used, then system simplicity is maintained, but database availability deteriorates during failure events

Engineering Contradiction:
Improvedatabase availabilityVSAvoidredundancy management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs health checks and risk assessments on primary databases before actual failures occur. When degradation is detected, the redundancy manager proactively triggers failover to secondary databases, preventing catastrophic failure rather than reacting after failure occurs. This preliminary action maintains high availability while managing complexity through automated monitoring and decision-making.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system continuously monitors primary database health metrics and uses this feedback to dynamically adjust failover decisions. Health check results feed into risk assessment algorithms that determine when to trigger preemptive failover. This closed-loop feedback mechanism enables reliable automated decisions without requiring complex manual intervention protocols.

Inventive Principle:
Principle #23Feedback

2Reliability

If preemptive failover is implemented, then database resilience is improved, but monitoring and control complexity increases

Engineering Contradiction:
Improvedatabase resilienceVSAvoidmonitoring and control complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The redundancy manager autonomously performs health checks, assesses risks, and executes failover decisions without external intervention. The system self-manages the complexity of monitoring multiple databases and controlling failover logic, freeing operators from manual monitoring tasks while improving resilience through continuous automated assessment and action.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Health checks and risk assessments are performed continuously in the background before failures occur. The system prepares secondary databases for potential failover by maintaining them in standby mode and pre-evaluating their readiness, so that when failover is needed, the transition is rapid and seamless, improving resilience without adding operational complexity during critical moments.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If continuous health monitoring is performed, then failure detection is improved, but system overhead increases

Engineering Contradiction:
Improvefailure detection accuracyVSAvoidmonitoring overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system performs comprehensive health checks on primary databases at regular intervals and uses risk assessment algorithms to evaluate failure probability. When risk thresholds are exceeded, monitoring intensity increases for affected databases. This partial application of excessive monitoring only where and when needed improves detection accuracy while limiting overhead to necessary levels rather than continuously maximum monitoring all systems.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12461834B2Health check for primary failover
Publication Date: 2025.11.04 RAKUTEN SYMPHONY INC
  • US12461834B2 patent drawing
  • US12461834B2 patent drawing
  • US12461834B2 patent drawing

AI summary

A primary database and one or more secondary databases are managed by a redundancy manager, e.g., PATRONI, that manages failover to one of the secondary databases upon failure of the primary database. A separate orchestrator monitors status of the host of the primary database and monitors values such as loading, latency, temperature, and/or trends in these values. Upon detecting that the values indicate a risk of failure of the host, the orchestrator preemptively instructs the redundancy manager to perform failover to one of the secondary databases.