OLAP Cube Data Synchronization with OLTP Databases

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional relational databases face inefficiencies in handling large volumes of data for real-time analytical processing, as executing queries on-line transaction processing (OLTP) databases is computationally expensive and affects real-time capabilities, making it challenging to provide users with up-to-date data for analytical purposes.

Innovation Solution

A data processing system that includes a relational database for transaction data storage and an on-line analytical processing (OLAP) database with replicated data in OLAP cubes, where data replication occurs at predefined times, allowing users to request data within a specified time interval, with any missing data from the OLAP cubes retrieved from the OLTP database to minimize the load on the OLTP database.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data is stored in OLTP relational databases for real-time transaction processing, then real-time transaction capability is maintained, but analytical processing becomes computationally expensive and slow

Engineering Contradiction:
Improveanalytical processing speedVSAvoidcomputational resource consumption
Core Design Contradiction:
ProductivityVSPower

Solution Approach 1:

The system divides data into two separate databases: OLTP database for transactional operations and OLAP database for analytical processing. This segmentation allows each database to be optimized for its specific function, with OLAP cubes pre-aggregated data that can be queried efficiently without impacting OLTP real-time transactions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Data is pre-aggregated into OLAP cubes before analytical queries are executed. This preliminary aggregation of data into multi-dimensional cubes with pre-calculated metrics allows fast query response times during analytical processing without requiring expensive real-time scans of the OLTP database.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If data is replicated to OLAP database for analytical processing, then query response time improves, but data freshness decreases due to periodic update delays

Engineering Contradiction:
Improvequery response timeVSAvoiddata freshness
Core Design Contradiction:
Loss of timeVSLoss of information

Solution Approach 1:

The system performs preliminary aggregation of data into OLAP cubes at scheduled intervals, preparing data in advance for analytical queries. This allows fast query response while maintaining acceptable data freshness through regular synchronization cycles.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts the balance between data freshness and query performance by allowing queries to access either fresh OLTP data or pre-aggregated OLAP data based on the specific analytical requirements, enabling flexible data access strategies.

Inventive Principle:
Principle #15Dynamics

3Measurement precision

If OLAP cubes are updated frequently to maintain data freshness, then data accuracy improves, but system complexity and update overhead increase

Engineering Contradiction:
Improvedata accuracyVSAvoiddata replication complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Instead of continuous updates, the system employs periodic batch updates where OLAP cubes are refreshed at scheduled intervals. This periodic synchronization maintains data accuracy while significantly reducing update overhead and system complexity compared to real-time continuous updates.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system creates copies of aggregated data in OLAP cubes rather than maintaining live connections to OLTP transactions. These cubic data structures are updated by copying relevant transaction data in batches, simplifying the replication process while maintaining data accuracy for analytical purposes.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS7743015B2Data processing systems and methods
Publication Date: 2010.06.22 SAP SE
  • US7743015B2 patent drawing
  • US7743015B2 patent drawing
  • US7743015B2 patent drawing

AI summary

Data processing systems and methods are provided having an on-line transaction processing (OLTP) database and an on-line analysis processing (OLAP) database. The OLAP and OLTP databases are synchronized periodically. In response to a user's query, OLAP cube data that is available in the OLAP database is complimented with data from the OLTP database for inclusion of up-to-date data into the on-line analysis processing.