Database File Write-Back Using Low-Frequency Update Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database update methods suffer from bottlenecks due to repeated writing to slower secondary storage devices, which prolong the time required for database updates when multiple updates are performed in the same nonvolatile memory area.

Innovation Solution

A method and apparatus that involve copying files from a first storage device to a second storage device, identifying files with low writing frequency, and writing them back to the first storage device, utilizing query determination, low-frequency file identification, and write-back processes to optimize database updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is repeatedly written to the secondary storage device every time an update is performed, then the database can be kept up-to-date, but the writing speed becomes a bottleneck and update time increases significantly

Engineering Contradiction:
Improvedatabase update accuracyVSAvoiddatabase update time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by copying files from the first storage device to the second storage device before actual updates are performed. This allows the system to prepare data in advance in the faster first storage device, so that when updates are needed, they can be performed there without immediately writing to the slower second storage device, thus reducing update time while maintaining data accuracy

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces the second storage device as an intermediary between the database system and the final storage. Updates are performed on copied files in the second storage device, and only necessary changes are written back to the first storage device. This intermediary layer acts as a buffer that decouples the frequent update operations from the slower persistent storage, resolving the time bottleneck

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all updated files are written back to the first storage device, then data consistency is maintained, but writing frequency increases and time is lost

Engineering Contradiction:
Improvedata consistencyVSAvoidupdate efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts only the necessary update operations from the full set of file operations. By identifying and applying only the essential changes to the original files in the first storage device, rather than rewriting entire files or all updated files, the system maintains data consistency while significantly improving update efficiency and reducing writing frequency

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of writing frequency by introducing selective write-back based on update necessity. Instead of writing back all updated files with equal frequency, the system adjusts writing frequency based on actual update needs, transforming the rigid write-all approach into a flexible selective write approach that improves productivity while maintaining consistency

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12487973B2Update method and database update apparatus
Publication Date: 2025.12.02 HITACHI LTD
  • US12487973B2 patent drawing
  • US12487973B2 patent drawing
  • US12487973B2 patent drawing

AI summary

An update method in which a computer updates data stored in a first storage device by copying a plurality of files stored in the first storage device to a second storage device and writing the files updated in the second storage device back to the first storage device, the plurality of files constituting a part of a database. The update method includes a query determination for determining whether a query for requesting writing to one of the files stored in the second storage device is based on a cluster key of the database, low-frequency file identification for identifying a file having a low writing frequency among the files stored in the second storage device, and write-back for writing the file having the low writing frequency identified in the low-frequency file identification to the first storage device.