arXiv:2609.01525cs.DBSep 2026

Manuscript Offprint

arXiv:2609.01525

Relational-Core Graph Analytics Querying graphs at SQL scale, and why the node/edge model is a performance tax, not a truer picture of connected data

Gene Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A durable assumption holds that graph analytics requires a purpose-built graph engine, and that relational systems are ill-suited to connected data. We argue the opposite for the workloads enterprises actually run. A columnar relational engine fronted by a graph query language matches or exceeds native graph engines on analytical graph queries, and—decisively—scales past the point where in-memory graph engines fail. We further argue that the node/edge property graph is not a more faithful model of connected data but a re-encoding of relationships that already exist explicitly in relational tables; reconstructing them at query time is pure overhead.

We present ClickGraph and its Databricks-dialect sibling DeltaGraph, systems that translate Cypher directly onto the native relational schema—the tables, columns, and foreign keys as they already exist—and execute in place on ClickHouse, Databricks, or in-process on lakehouse files, with no import and no separate cluster. Because the output is ordinary SQL, an underperforming query is an open optimization surface: it can be rewritten, and the engine itself extended. We support the argument with a peer system's own published benchmark, in which a columnar engine outruns Neo4j by two-to-four orders of magnitude, and with reproducible measurements across the LDBC Social Network Benchmark suite.

Keywords: graph analytics, Cypher, query translation, columnar databases, vectorized execution, property graphs, relational schema mapping, LDBC SNB, zero-ETL, lakehouse, ClickHouse, Databricks.

CCS Concepts: Information systems → Query languages; Relational database query languages; Query optimization; Database query processing; Graph-based database models.

1 Introduction

The received wisdom is easy to state: relational databases cannot do graph analytics, so you need a graph-native engine. It is also, for the workloads most enterprises run, wrong. This paper defends that position on three fronts.

The first is performance and scale. Columnar relational analytics scale better than graph-native algorithms, and graph-native engines — which keep relationships in a node-and-adjacency-list store and traverse them tuple-at-a-time — are difficult to accelerate the way relational engines already have been. Decades of columnar storage, vectorized execution, and cost-based optimization apply directly to graph queries once those queries are expressed as joins; a graph-native runtime must re-derive each of those techniques for a narrower workload.

The second is representation. This is a distinct axis from the first, and a subtler one. A property graph can be stored two ways that are not the native relational schema: as a node-and-adjacency-list structure (the native graph store above), or as generic node/edge tables inside a relational engine — the form used by Apache AGE and AgensGraph. The adjacency list is the more explicit of the two, yet it is the first axis, not this one, that governs it. Our concern here is the second form. Generic node/edge tables do not capture connected data more faithfully than the native relational schema does — they capture it less directly. A foreign key is the most familiar counter-example: a relationship that already exists as a materialized, indexed, query-ready fact. But it is only one of several. Junction rows, denormalized columns that inline an endpoint, and polymorphic or composite-key references each encode connected data explicitly in a relational schema without being a node/edge table, and ClickGraph translates onto all of these patterns directly (§4.2). Re-encoding any of them into generic nodes and edges demotes that explicit structure to implicit adjacency, which the engine must then reconstruct through joins on every query. The re-encoding loses no information, but it discards work the relational schema had already done.

The third is openness. When a translated query underperforms, the remedy is available: the SQL can be rewritten, and the engine underneath it can be extended with graph-specific optimizations, drawing on the whole mature relational-optimization toolkit. A graph-native engine offers a narrower path. Many are open source, so their code can in principle be changed; but native graph traversal is bespoke, and its optimization surface is far less developed than the decades-hardened discipline of relational query optimization — a graph-native engine's performance is hard to match on its own terms. Translation keeps the optimization problem where a general, well-tooled body of technique already applies.