Distributed Graph Query Engine for OLTP and OLAP Workloads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed graph databases face challenges in efficient query processing for both online transactional processing (OLTP) and online analytical processing (OLAP due to their large size and partitioned data structure, which affects performance in real-time transactions and complex data analysis.

Innovation Solution

The implementation of a system and method that includes a query processing engine capable of performing OLTP and OLAP on distributed graphs, with optimizations such as compute pushdown OLTP mode, single thread OLTP mode, and automatic transition between OLTP and OLAP modes, allowing for efficient data processing and response generation across multiple servers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data is partitioned across multiple servers in a distributed graph database, then the system can handle large-scale graphs, but query processing efficiency deteriorates due to increased data transfer and coordination overhead

Engineering Contradiction:
Improvegraph sizeVSAvoidquery processing efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The system segments the distributed graph data into partitions stored across multiple servers, enabling the database to handle large-scale graphs while maintaining query processing efficiency through optimized data distribution and localized computation strategies

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adapts query processing strategies based on query characteristics and data distribution, switching between different execution plans to optimize performance for specific query types on partitioned data

Inventive Principle:
Principle #15Dynamics

2Speed

If the system optimizes for OLTP queries, then real-time transaction performance improves, but complex analytical query performance deteriorates

Engineering Contradiction:
Improvereal-time transaction speedVSAvoidquery type adaptability
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The system dynamically switches between OLTP-optimized and OLAP-optimized processing modes based on query characteristics, allowing it to deliver high real-time transaction performance when needed while also handling complex analytical queries effectively

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system provides universal query processing capabilities that handle both OLTP and OLAP workloads through a unified architecture that adapts its processing strategy based on the specific query requirements

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If the system optimizes for OLAP queries, then complex data analysis performance improves, but real-time transaction performance deteriorates

Engineering Contradiction:
Improvedata analysis performanceVSAvoidreal-time transaction speed
Core Design Contradiction:
ProductivityVSSpeed

Solution Approach 1:

The system dynamically adjusts its processing mode based on query characteristics, enabling it to optimize for complex data analysis when OLAP queries are executed while maintaining readiness for real-time transactions when OLTP queries arrive

Inventive Principle:
Principle #15Dynamics

4Loss of energy

If compute operations are pushed down to individual servers, then data transfer is minimized, but coordination complexity increases

Engineering Contradiction:
Improvedata transfer volumeVSAvoidcoordination complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The system segments compute operations to be executed locally at each server node, minimizing data transfer across the network while managing coordination complexity through structured communication protocols and centralized coordination mechanisms

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12189647B2Adaptive distributed graph query processing for OLTP and OLAP workload
Publication Date: 2025.01.07 TIGERGRAPH INC
  • US12189647B2 patent drawing
  • US12189647B2 patent drawing
  • US12189647B2 patent drawing

AI summary

Query processing using online transactional processing (OLTP) and/or online analytical processing (OLAP) use a distributed graph. Optimizations are described including compute pushdown OLTP mode, single thread OLTP mode, and automatic transition between OLTP mode and OLAP mode. A query processing engine comprises an OLTP processing engine, an OLAP processing engine, and a storage (e.g., a computer memory or storage). The OLTP processing engine is configured to process OLTP queries, and the OLAP processing engine is configured to process OLAP queries. The query processing engine may comprise a transition determination engine configured to determine when to transition query processing between OLTP query processing mode and OLAP query processing mode.