PDSE Node Access Logging for Transaction Rollback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The lack of structure and transparency in page buffering systems for Partitioned Data Set Extended (PDSE) data sets impedes diagnosis of index problems and reconstruction of index page history due to non-deterministic page buffering without temporal or relational referencing.

Innovation Solution

Generating node access information for transactions involving tree data structures, which includes a pointer to the page allocated to accessed nodes, allowing for logging of node access information throughout the transaction, enabling rollback and performance analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If page buffering is implemented without temporal or relational referencing, then memory management is simplified, but diagnosis of index problems and reconstruction of index page history becomes impeded

Engineering Contradiction:
Improvepage buffering system complexityVSAvoidindex page history information
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The system performs preliminary actions by capturing and storing node access information (including page pointers, access timestamps, and transaction IDs) at the moment of access, before any potential data loss or system state change occurs. This preliminary recording enables subsequent reconstruction of index page history and diagnosis of index problems without requiring complex buffering mechanisms.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary logging mechanism that sits between the page buffering system and the index structure. This intermediary captures access information and maintains a deterministic record of page references, allowing the simplified buffering system to retain its low complexity while the intermediary preserves the necessary historical information for diagnosis and reconstruction.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If node access information is logged for all accessed nodes, then transaction rollback and performance analysis are enabled, but system overhead increases

Engineering Contradiction:
Improvetransaction rollback capabilityVSAvoidsystem overhead for logging
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the essential information needed for rollback and performance analysis (node identifier, page pointer, access timestamp, transaction ID) from the complete node access data. By taking out only these critical elements and storing them in a compact format, the system achieves reliable transaction rollback capability while minimizing the logging overhead and energy consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If deterministic tracking of node access is implemented, then transaction rollback and performance analysis are facilitated, but memory usage increases

Engineering Contradiction:
Improvenode access tracking precisionVSAvoidmemory usage for access information
Core Design Contradiction:
Measurement precisionVSVolume of stationary object

Solution Approach 1:

The patent applies local quality by storing detailed access information (full page pointers, timestamps) only for currently active or recently accessed nodes, while using more compact representations for historical data. This localized high-quality tracking for active nodes enables precise rollback and performance analysis, while the memory footprint is controlled through selective detail retention based on the node's relevance to current operations.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11294573B2Generating node access information for a transaction accessing nodes of a data set index
Publication Date: 2022.04.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11294573B2 patent drawing
  • US11294573B2 patent drawing
  • US11294573B2 patent drawing

AI summary

Provided are a computer program product, system, and method for generating node access information for a transaction accessing nodes of a data set index. Pages in the memory are allocated to internal nodes and leaf nodes of a tree data structure representing all or a portion of a data set index for the data set. A transaction is processed with respect to the data set that involves accessing the internal and leaf nodes in the tree data structure, wherein the transaction comprises a read or write operation. Node access information is generated in transaction information, for accessed nodes comprising nodes in the tree data structure accessed as part of processing the transaction. The node access information includes a pointer to the page allocated to the accessed node prior to the transaction in response to the node being modified during the transaction.