Reducing the Cross-Model Tax: Query Optimization over Multi-Model Data
Jáchym Bártík, Filip Štrobl, Irena Holubová
Key points
From the paper's conclusion- The results demonstrate that established optimization principles can be generalized across data-model and system boundaries and can substantially improve the efficiency and robustness of decomposition-based multi-model query processing.
Abstract
Querying across heterogeneous data models incurs substantial overhead from query decomposition, data transfer, and processing outside the underlying database systems. We show that, in the evaluated decomposition-based architecture, a substantial part of this cross-model tax is not inherent to heterogeneity itself, but results from avoidable decisions made by the unifying query processor. We present a mapping- and capability-aware optimization approach that systematically moves processing closer to the data. It combines model-aware predicate pushdown, cross-model dependent joins, and non-redundant query-part construction within a unified optimization pipeline applicable across relational, document, and graph databases. The approach is implemented in MM-quecat and evaluated over PostgreSQL, MongoDB, Neo4j, and their heterogeneous combination. It reduces query latency by up to two orders of magnitude, eliminates all out-of-memory failures observed in the original single-DBMS experiments, provides further order-of-magnitude improvements through dependent execution, and reduces planning time for complex graph plans from hundreds of milliseconds to several milliseconds. The results demonstrate that established optimization principles can be generalized across data-model and system boundaries and can substantially improve the efficiency and robustness of decomposition-based multi-model query processing.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Graph Memory for LLM Agents: At What Cost? A Comparative Evaluation of Query, Ingest, and Update Performance Across Graph Database EnginesarXiv · 2026
- Models Are Data Too: Towards Expressive Querying of Machine-Learning ModelsACM SIGMOD Record · 2026
- Rethinking Query Optimization for Multi-Agent SystemsProceedings of the VLDB Endowment · 2026
- Decomposing Engine and Schema Effects in Database Performance: A Result-Equivalent E-Commerce BenchmarkElectronics · 2026
- Graph reachability queries: A unified multi-metric framework with dynamic evaluation and practical guidelinesWorld Wide Web · 2026
- Back to the Future: The Evolving Universal Relation ModelarXiv · 2026