Slowly Changing Dimensions Data Access via Star Join

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data warehouse technologies lack an effective solution for accurate persistence and efficient access of slowly changing dimensions (SCD) type 6, particularly when utilizing a star join, leading to performance and storage issues due to data inflation and slow load times.

Innovation Solution

Implement a method that stores selected historical persist dimension attribute data using row insertion without updating all previous versions, and generates a view of persisted dimension attribute data as dual values utilizing a star join, reducing data inflation and improving load performance by optimizing queries through star join optimization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all previous versions of dimension attributes are updated when storing historical data, then complete historical persistence is achieved, but data inflation occurs and storage efficiency deteriorates

Engineering Contradiction:
Improvehistorical data persistence accuracyVSAvoiddata storage volume
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary historical dimension attribute data for persistence, rather than updating all previous versions. This selective extraction approach maintains complete historical persistence accuracy while avoiding data inflation by storing only the essential historical information needed for SCD type 6 scenarios.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the dimension table into distinct components: current attribute data, historical attribute data, and effective date ranges. This segmentation allows efficient storage and retrieval of historical information without duplicating entire previous versions, thereby reducing storage volume while maintaining persistence accuracy.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If traditional methods are used to access historical dimension data, then data accuracy is maintained, but query performance deteriorates due to inefficient data retrieval

Engineering Contradiction:
Improvehistorical data accuracyVSAvoidquery execution speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary actions by pre-organizing historical dimension data with effective date ranges and creating optimized table structures before queries are executed. This preliminary organization enables efficient retrieval of historically accurate data without compromising query performance, as the data is already structured for fast access.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies local quality optimization by creating specific data structures and access paths tailored for historical data retrieval. The dimension table is structured with distinct sections for current and historical attributes, allowing queries to efficiently access only the relevant historical data portions needed for accurate results.

Inventive Principle:
Principle #3Local quality

3Loss of information

If comprehensive historical data is stored for all dimension attributes, then data completeness is improved, but load time increases due to processing overhead

Engineering Contradiction:
Improvehistorical information completenessVSAvoiddata load time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent extracts and stores only the essential historical dimension attribute information that is necessary for SCD type 6 scenarios, rather than comprehensively storing all possible historical data. This selective approach maintains information completeness for the required scenarios while significantly reducing the processing overhead and load time.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by storing historical data at the appropriate level of detail needed for analytical purposes, without unnecessarily storing excessive information. This partial storage approach achieves the required information completeness for historical analysis while minimizing the data volume that needs to be loaded and processed.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9208183B2Data access of slowly changing dimensions
Publication Date: 2015.12.08 BMC HELIX INC
  • US9208183B2 patent drawing
  • US9208183B2 patent drawing
  • US9208183B2 patent drawing

AI summary

Disclosed is a method including storing selected historical persist dimension attribute data utilizing a row insertion without updating all previous versions of the selected persist dimension attribute, and generating a view of persisted dimension attribute data as dual values utilizing a star join.