Database Write Verification Using Extent Address Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database verification procedures fail to detect errors when a data record is written to the wrong location, leading to database corruption despite the record itself being valid.

Innovation Solution

A method that calculates and compares expected and actual addresses using extent data from an extent table to determine whether a write instruction should be executed, ensuring data is written to the correct location within the database.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data verification procedures check only the integrity of data records (checksum, header patterns), then the likelihood that bad data records will corrupt a database is reduced, but the procedures fail to detect when good data records are written to wrong locations

Engineering Contradiction:
Improvedatabase integrityVSAvoidlocation verification accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent calculates the expected location of each data record in the database before the write operation occurs. By pre-determining where data should be stored based on its offset and the database structure, the system can verify location correctness in advance and prevent silent corruption from misplaced writes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a feedback mechanism where the actual write location is compared against the expected location calculated from extent data. This closed-loop verification provides feedback on whether data was written to the correct location, enabling detection and correction of location errors that traditional verification methods miss.

Inventive Principle:
Principle #23Feedback

2Productivity

If traditional data verification methods are used, then verification of data record integrity is simple and fast, but silent corruption goes undetected when records are written to incorrect locations

Engineering Contradiction:
Improveverification speedVSAvoiddetection accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system pre-calculates expected data locations using extent data stored in the database, allowing for rapid verification during write operations. This preliminary preparation enables fast comparison between actual and expected locations without adding significant overhead to the verification process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces extent data as an intermediary structure that maps logical database addresses to physical storage locations. This intermediary layer enables efficient location verification by providing a reference framework that bridges the database logical structure and physical storage, allowing fast detection of misplaced writes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8352439B1Database verification following database write
Publication Date: 2013.01.08 EMC IP HLDG CO LLC
  • US8352439B1 patent drawing
  • US8352439B1 patent drawing
  • US8352439B1 patent drawing

AI summary

A method for processing a write instruction for writing data to a database stored on a logical device includes obtaining first and second addresses that specify the location of the data in respective first and second address spaces. A third address corresponding to an expected location of the data record in the first address space is then calculated. On the basis of a comparison between the first address and the third address, a determination is made as to whether to execute the write instruction.