NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TigerGraph: A Native MPP Graph Database

Alin Deutsch, Yu Xu, Mingxi Wu, Victor E. LeearXiv 2019

Abstract

TigerGraph is a native, massively parallel processing (MPP) graph database built from the ground up to handle deep-link analytics at a massive scale. It introduces GSQL, a Turing-complete, SQL-like query language that seamlessly blends declarative querying with high-performance Bulk-Synchronous Parallel (BSP) graph algorithms. This architecture allows developers to write complex, iterative analytics concisely while achieving linear scale-up and scale-out performance.

Introduction

Graph databases are increasingly vital for complex analytics such as fraud detection, recommendation engines, and supply chain monitoring. However, existing commercial systems often face two major roadblocks: architectural overhead and language limitations. Many systems are "virtual graph" wrappers built on top of generic NoSQL stores, which incurs heavy performance penalties during traversal. Furthermore, existing languages like Gremlin or Cypher often force imperative styles or suffer from NP-hard execution complexities during deep path traversals. TigerGraph addresses these challenges with a native C++ graph engine and the GSQL language.

System Architecture

TigerGraph’s architecture is designed for high-performance, native graph processing. Unlike layered systems, TigerGraph manages its own memory and storage, automatically partitioning data across a cluster.

The TigerGraph Analytics Platform architecture, highlighting the Graph Storage Engine (GSE), Graph Processing Engine (GPE), and GSQL interface.

The platform consists of several core components as shown in the architecture diagram above:

  • Graph Storage Engine (GSE): Handles native graph data storage and homomorphic compression.
  • Graph Processing Engine (GPE): Manages parallel processing and graph partitioning for MPP execution.
  • GSQL Query Language: Provides a declarative interface for complex traversals and iterative algorithms.

GSQL and Query Semantics

GSQL extends standard SQL with graph-specific primitives, most notably Direction-Aware Regular Path Expressions (DARPEs). These allow users to specify complex traversal patterns easily. To support iterative algorithms like PageRank without external code, GSQL introduces Accumulators—variables attached to vertices that aggregate data during traversals. Combined with WHILE loops, these enable multi-pass algorithms to be expressed in a few lines of code.

Crucially, GSQL defaults to all-shortest-paths semantics. Unlike "simple path" semantics (which are NP-hard), this approach ensures query evaluation remains mathematically tractable (polynomial time) even on massive graphs.

Performance Evaluation

The authors evaluated TigerGraph using synthetic (Graph500) and real-world (Twitter) datasets. The Twitter dataset, containing 1.47 billion edges, served as a primary benchmark for deep-link traversal and scalability.

Key Results

  • Deep-Link Traversal: TigerGraph executed 12-hop queries on the Twitter graph in under 3 minutes, whereas several other commercial databases failed at 3 to 6 hops.
  • Storage Efficiency: Homomorphic compression reduced the Twitter dataset size by 2.57x (from ~24GB to 9.5GB), maximizing in-memory processing.
  • Linear Scalability: Query throughput scaled linearly with CPU cores (scale-up). In scale-out tests, an 8-machine cluster achieved a 6.7x speedup for PageRank compared to a single machine.

Conclusion

TigerGraph demonstrates that SQL-style declarative syntax can be successfully paired with highly efficient MPP execution. By optimizing path semantics and providing native vertex-level computation via accumulators, it overcomes the scalability bottlenecks of traditional graph systems. Future work includes participating in ANSI standardization and potentially automating the translation of intractable path semantics if required by users.

Summary updated

BibTeX
@misc{deutsch2019tigergraph,
  author = {Alin Deutsch and Yu Xu and Mingxi Wu and Victor E. Lee},
  title = {{TigerGraph: A Native MPP Graph Database}},
  year = {2019},
  eprint = {1901.08248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.08248},
}
Figure