Merge Operation Controls for Empty Input List Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database processing systems require significant memory and time for transferring data between memory and processor storage during merge operations, leading to inefficient performance.

Innovation Solution

A computer program product that includes a single instruction to facilitate sorting and merging data records, utilizing controls to manage the behavior of operations when input lists become empty, thereby reducing data accesses and improving performance by minimizing data transfers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional merge operations are performed without controls, then data transfers continue until all input lists are processed, but this causes excessive data accesses and slows processing performance

Engineering Contradiction:
Improvemerge operation performanceVSAvoiddata transfer time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by establishing control mechanisms before the merge operation begins. Controls are set up to define when data transfers should stop, allowing the system to prepare termination conditions in advance rather than reacting to each data access decision during execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where the status of input lists (whether they are empty or not) is continuously monitored and fed back into the control logic. This feedback loop allows the merge operation to dynamically adjust its behavior based on real-time conditions, stopping data transfers when appropriate to optimize performance.

Inventive Principle:
Principle #23Feedback

2Productivity

If controls are implemented to manage empty input lists, then data accesses are reduced, but the system complexity increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidcontrol mechanism complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The control mechanism is segmented into separate, manageable components. Each control can be independently configured and managed, allowing the system to handle complexity by dividing the control logic into discrete units that can be processed and adjusted independently of each other.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The control mechanism is designed to be dynamic rather than static. Controls can be adjusted and reconfigured based on the specific needs of different merge operations, allowing the system to adapt to varying conditions without requiring complex hardwired logic for every possible scenario.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP3877886B1Controlling storage accesses for merge operations
Publication Date: 2025.12.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • EP3877886B1 patent drawingFigure 1A~1B
  • EP3877886B1 patent drawingFigure 2
  • EP3877886B1 patent drawingFigure 3A~3F

AI summary

Storage accesses for merge operations are minimized. A plurality of records of a plurality of input lists are merged. The merging includes determining that an input list of the plurality of input lists has become empty, and checking, based on determining that the input list has become empty, a control specific for the input list. The control is used to determine how to proceed, such as whether to end merging or continue merging.