Back to home
Storage Engine

PathDB Secondary Storage & Benchmark

Disk-based RocksDB storage backend for PathDB (an RPQ graph engine), backed by a 5-engine benchmark scaling up to 170M edges and 27M nodes (LDBC SNB SF10).

Java RocksDB PostgreSQL Neo4j Python

Secondary-memory (HDD/SSD) storage extension for PathDB —an in-memory property-graph database specialized in Regular Path Queries (RPQs)— together with the experimental benchmark that guided the storage engine selection.

1. Five-engine storage benchmark (Evaluation1)

Built as supplementary material for the paper “Performance Evaluation of Secondary-Memory Storage Methods for Property Graphs”, this study implements and compares 5 on-disk backends over LDBC SNB graphs (scale factors 0.1 through 10, reaching 27M nodes and 170M edges):

  • RocksDB: embedded key-value store with manual binary serialization (ByteBuffer) and custom prefix indexes.
  • Sparksee: embedded native graph database using internal OIDs and bitmap indexes.
  • MapDB: Java-native persistent collections backed by on-disk B-Trees.
  • PostgreSQL: relational Entity-Attribute-Value (EAV) property schema.
  • Neo4j: client-server native graph store queried via Cypher.

Across every scale factor, RocksDB achieved the best overall trade-off (lowest query latency, fastest bulk ingestion, and smallest disk footprint), making it the chosen backend for PathDB.

2. graph-storage library & pathdb-server integration

  • Specialized RocksDB Column Families and hybrid caching to accelerate hot lookups while keeping memory overhead low.
  • Optimized bulk ingestion for .pgdf datasets and lazy streaming iteration (AutoCloseableIterables) directly from disk.
  • Built as a standalone Java module (GraphStorage) and integrated into the storage branch of pathdb-server.

Repositories & Documentation