Intelligent Log Gap Detection for Database Backup Promotion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In high availability databases, gaps in the backup chain often lead to data loss during restoration due to unawareness among different backup platforms, resulting in inefficient data backup and recovery processes.
Innovation Solution
Implementing an intelligent log gap detection system that determines whether to promote a requested database backup type, thereby preventing unnecessary backup promotion and ensuring data integrity across database failover clusters by maintaining a cluster backup chain table and trail log table to track and manage backup sequences and log gaps.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If backup promotion is performed without intelligent log gap detection, then data loss is prevented, but storage space is wasted due to unnecessary full backups
Solution Approach 1:
The system performs preliminary log gap detection by examining backup chain tables and trail logs before promoting a backup to full backup status. This preliminary action identifies whether a full backup is actually necessary, preventing wasteful storage consumption while ensuring data integrity when gaps are detected
Solution Approach 2:
The system implements feedback mechanisms by continuously monitoring backup chain integrity through trail logs and backup chain tables. This feedback loop provides real-time information about the state of backup chains, enabling intelligent decisions about whether promotion is necessary, thus balancing reliability and storage efficiency
2Adaptability or versatility
If multiple backup platforms are used without information sharing, then backup flexibility is improved, but backup chain gaps occur leading to data loss
Solution Approach 1:
The system merges information from multiple independent backup platforms by implementing a centralized backup chain table and trail log system. This consolidation allows different backup platforms to share backup chain information, ensuring complete visibility of the backup chain state across the entire system while maintaining platform flexibility
Solution Approach 2:
The backup chain table and trail log system act as intermediaries between multiple backup platforms. These intermediary structures enable information exchange and coordination among otherwise independent backup platforms, ensuring backup chain integrity without requiring direct integration between platforms
3Loss of substance
If intelligent log gap detection is implemented, then unnecessary backup promotions are prevented saving storage, but system complexity increases
Solution Approach 1:
The system implements self-service mechanisms where the backup management system automatically detects log gaps, determines promotion necessity, and makes intelligent decisions without requiring complex external intervention. This self-service approach reduces operational complexity while achieving storage optimization
Solution Approach 2:
The system uses simplified data structures (backup chain tables and trail logs) that copy and track essential backup information in a standardized format. This copying mechanism provides a lightweight, manageable representation of backup chain state that reduces system complexity compared to managing full backup metadata
Data Source
AI summary
An intelligent log gap detection to prevent unnecessary backup promotion. Specifically, the method and system disclosed herein entail determining whether to pursue a requested database backup type or to promote the requested database backup type to another database backup type, in order to preclude data loss across high availability databases. When a decision is made to pursue the requested database backup type, storage space, intended for backup consolidation on a backup system or media, is saved for future backup requests rather than being consumed as would be the case would the requested database backup type had been promoted.


