Skip to content

The Data World is Not Flat: Efficient Factorized Execution for Relational Systems

Jul 2026 · Proceedings of the VLDB Endowment · 0 citations · 49 references

TL;DR

A novel code-generating engine with factorization that enables intra-query-parallelized query execution on factorized representations and generates code to overcome their CPU-unfriendly layout, offering a unified and scalable solution for modern workloads.

Abstract

Relational database management systems (RDBMSs) struggle with efficient execution of graph workloads, particularly those involving many-to-many joins with large intermediate results. Such joins are common in modern applications such as social networks, recommendation engines, and knowledge graphs. Traditional RDBMSs are optimized for selective joins, while the typical result blow-up in graph analytics leads to exceptionally long query times or even system crashes due to out-of-memory errors. Since graph and relational data are often intertwined, a unified solution can simplify system architecture and improve performance. To address this, we propose a novel code-generating engine with factorization, which represents tuples in a hierarchical form. Our approach enables intra-query-parallelized query execution on factorized representations and generates code to overcome their CPU-unfriendly layout. Additionally, we extend current factorized approaches by bottom-inserts to make joins reorderable. Our factorized approach can outperform traditional tuple representations and state-of-the-art RDBMSs by orders of magnitude on synthetic workloads and benchmarks as our experiments show. Moreover, its potential integrability into traditional RDBMSs enables efficient processing of complex, highly redundant queries, offering a unified and scalable solution for modern workloads.

View source

Similar papers

Preprint Aug 2026

GRBench: A Comprehensive Benchmark Evaluation for Graph-relational Data Management

Modern data-intensive applications increasingly require database systems to manage structured records and graph data. This demand gives rise to graph-relational data management, spanning storage, query processing, and optimization across relational and graph data. In response, relational database extensions, multi-mode...

Ze-Peng Liu, Xin-Xin Huang, Xuan-Ming Liu et al. · 0 citations
Jul 2026

Nav-Index: A High-Performance, Adaptive Index for Shortest Path Queries in RDBMS

Shortest path queries are a fundamental operation on graphs with numerous applications. Efficiently executing shortest path searches in RDBMS is challenging, as graphs can not only be static relations but might also occur as ad-hoc intermediate results of complex analytical queries. Especially single-pair shortest path...

Maximilian Reif, Thomas Neumann · 0 citations
Preprint Aug 2026

DAGSmith: Dependency-Aware Rewriting for dbt-Style SQL Pipelines

DAGSmith is introduced, to the best of the authors' knowledge the first holistic dependency-aware source-to-source rewriting system for SQL pipeline DAGs and enables dependency-edge simplification, non-local semantic reuse, downstream-aware pruning, pipeline-aware work placement, rewrite-materialization co-optimization...

Jie Liu, Lin Ma, Barzan Mozafari · 0 citations
#artificial intelligence Preprint Sep 2026

Git4Data: Database-Native Version Control for AI Agents

Git4Data is presented, a database-native version-control layer for agentic workflows that sheds light on how relational databases can better support AI agents through efficient versioning.

Hongshen Gou, Zu-Yu Zhang, Yu-Ze Sun et al. · 0 citations
Preprint Aug 2026

Teach Your DBMS to LIKE Strings: Fast and General Pattern Matching for Wildcard Joins and Filters

Nowadays, modern applications do more than just store text -- they need to derive meaningful insights from it. To do that, they usually rely on wildcard queries with LIKE predicate to extract patterns. However, modern database management systems (DBMSs) handle these wildcard operations poorly, resorting to nested loops...

Lam-Duy Nguyen, Pascal Ginter, Duc-Tam Nguyen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.