Database Loading with Time-Stamped Records

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional database loading processes are slow and resource-intensive, particularly when handling large volumes of data, leading to prolonged downtime and inefficiencies in mission-critical applications.

Innovation Solution

A method that minimizes interactions with the hardware clock by generating unique timestamps for records with future time values, allowing the loading process to complete before the actual timestamp values are reached, thus reducing processing time and resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional database loading processes are used to load large volumes of data, then data can be stored in the database, but the loading process is slow and resource-intensive, leading to prolonged downtime

Engineering Contradiction:
Improvedatabase loading speedVSAvoiddowntime
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by generating all timestamps for a batch of records before the loading process begins. The first timestamp is obtained from the hardware clock, and all subsequent timestamps are calculated in advance using increment logic. This preliminary timestamp generation eliminates the need for repeated hardware clock interactions during loading, significantly reducing processing time and enabling faster database loading while minimizing downtime.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If timestamps are generated by repeatedly interacting with the hardware clock during the loading process, then each record can have a unique timestamp, but the process becomes resource-intensive and slow

Engineering Contradiction:
Improvetimestamp uniquenessVSAvoidprocessing resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary timestamp generation by calculating all timestamps before the loading process begins. Only one interaction with the hardware clock is needed to obtain the first timestamp, and all subsequent timestamps are generated using increment logic. This approach maintains timestamp uniqueness and reliability while dramatically reducing processing resource consumption by eliminating repeated hardware clock interactions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of repeatedly reading from the hardware clock, the system creates a copy of the timestamp generation process by implementing software-based increment logic that replicates the timestamp sequence. This copying approach replaces resource-intensive hardware interactions with efficient software calculations, maintaining timestamp uniqueness while reducing processing resource consumption.

Inventive Principle:
Principle #26Copying

3Measurement precision

If the loading process waits for the actual timestamp values to be reached in real time, then timestamps reflect actual time progression, but the loading process takes longer to complete

Engineering Contradiction:
Improvetimestamp accuracyVSAvoidloading throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs preliminary timestamp generation by calculating all timestamps before the loading process begins. The first timestamp is obtained from the hardware clock to ensure accuracy, and subsequent timestamps are generated using increment logic. This approach maintains measurement precision for the first timestamp while enabling bulk generation of subsequent timestamps, thereby improving loading throughput without significantly compromising overall timestamp accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11537599B1Fast database loading with time-stamped records
Publication Date: 2022.12.27 BMC SOFTWARE INC
  • US11537599B1 patent drawing
  • US11537599B1 patent drawing
  • US11537599B1 patent drawing

AI summary

For a first record of a batch of records, a first timestamp may be determined to be stored with the first record in a database into which the batch of records are to be loaded as part of a database loading process. For each remaining record of the batch of records, a future timestamp may be generated using the first timestamp, until a final timestamp of a final record of the batch of records is generated. For a load completion time at which the database loading process completes, prior to the final timestamp, a wait time until a batch completion time may be determined by comparing the load completion time and the final timestamp, and waiting for the wait time to reach the batch completion time. If the load completion time is at or after the final timestamp, the batch completion time may be reached at the load completion time.