Database File Reorganization with Replication Pause

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In high-availability database environments, reorganizing large physical files while maintaining data replication is challenging due to the risk of interrupting file replication activities and impacting performance, especially when unprocessed replication transactions exceed a threshold.

Innovation Solution

A system that monitors unprocessed replication transactions and pauses reorganization commands when the transaction count exceeds a threshold, ensuring computing resources are available for file replication, using replication software APIs to manage and reorganize physical files without interrupting replication activities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If reorganization command is executed on large physical files, then file reorganization is achieved, but file replication activities may be interrupted and performance is impacted

Engineering Contradiction:
Improvefile reorganizationVSAvoiddata replication
Core Design Contradiction:
Manufacturing precisionVSReliability

Solution Approach 1:

The reorganization command execution is made dynamic by implementing pause and resume capabilities. The system monitors unprocessed replication transactions during reorganization and automatically pauses when thresholds are exceeded, then resumes when conditions improve. This dynamic adjustment allows the system to adapt to changing replication loads, preventing interruptions to data replication while still achieving file reorganization over time.

Inventive Principle:
Principle #15Dynamics

2Productivity

If reorganization command is executed continuously, then reorganization efficiency is improved, but unprocessed replication transactions may accumulate and exceed thresholds

Engineering Contradiction:
Improvereorganization efficiencyVSAvoidunprocessed replication transactions
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system implements feedback control by continuously monitoring the number of unprocessed replication transactions during reorganization execution. When the count exceeds a predefined threshold, the system receives feedback to pause the reorganization command. This feedback mechanism ensures that reorganization efficiency is maintained when conditions permit, while automatically preventing transaction accumulation when replication load is high.

Inventive Principle:
Principle #23Feedback

3Reliability

If reorganization command is paused frequently, then data replication is protected, but reorganization process time increases

Engineering Contradiction:
Improvedata replicationVSAvoidreorganization process time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The reorganization command executes in periodic intervals rather than continuously. The system periodically checks the number of unprocessed replication transactions and adjusts execution accordingly. This periodic action pattern allows the reorganization to make progress during low-load periods while protecting data replication during high-load periods, balancing reliability requirements with time efficiency.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11841833B2File reorganization
Publication Date: 2023.12.12 KYNDRYL INC
  • US11841833B2 patent drawing
  • US11841833B2 patent drawing
  • US11841833B2 patent drawing

AI summary

A method includes executing, by a computing device, a reorganization command within an environment; monitoring, by the computing device, unprocessed replication transactions within the environment; determining, by the computing device, whether the unprocessed replication transactions exceed a threshold; and pausing, by the computing device, the executing the reorganization command in response to determining the unprocessed replication transactions exceed the threshold.