Micro: a Lightweight Middleware for Optimizing Cross-Store Cross-Model Graph-Relation Joins
Xiuwen Zheng, Arun Kumar, Amarnath Gupta
摘要
Modern data applications increasingly involve heterogeneous data managed in different models and stored across disparate database engines, often deployed as separate installs. Limited research has addressed cross-model query processing in federated environments. This paper takes a step toward bridging this gap by: (1) formally defining a class of cross-model join queries between a graph store and a relational store by proposing a unified algebra; (2) introducing one real-world benchmark and four semi-synthetic benchmarks to evaluate such queries; and
(3) proposing a lightweight middleware, MICRO, for efficient query execution. At the core of MICRO is CMLero, a learning-torank-based query optimizer that selects efficient execution plans without requiring exact cost estimation. By avoiding the need to materialize or convert all data into a single model-which is often infeasible due to third-party data control or cost-MICRO enables native querying across heterogeneous systems. Experimental results on the benchmark workloads demonstrate that MICRO outperforms the state-of-the-art federated relational system XDB by up to 2.1× in total runtime across the full test set. On the 93 test queries of real-world benchmark, 14 queries achieve over 10× speedup, including 4 queries with more than 100× speedup; however, 4 queries experienced slowdowns of over 5 seconds, highlighting opportunities for future improvement of MICRO. Further comparisons show that CMLero consistently outperforms rule-based and regression-based optimizers, highlighting the advantage of learning-to-rank in complex crossmodel optimization.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Are We Ready For Learned Cardinality Estimation? 引用了 An End-to-End Learning-based Cost Estimator
- DeepDB: Learn from Data, not from Queries! 引用了 An End-to-End Learning-based Cost Estimator
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 Are We Ready For Learned Cardinality Estimation?
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 DeepDB: Learn from Data, not from Queries!
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 An End-to-End Learning-based Cost Estimator
- Bao: Making Learned Query Optimization Practical 引用了 An End-to-End Learning-based Cost Estimator
它引用的 Paper13
- An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
- Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu 等VLDB 2022 · 169 次引用
- Are We Ready For Learned Cardinality Estimation?Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang 等VLDB 2021 · 156 次引用
- DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina 等VLDB 2020 · 154 次引用
相关 Paper
- Lero: A Learning-to-Rank Query OptimizerRong Zhu, Wei Chen, Bolin Ding, Xingguang Chen 等VLDB 2023 · 102 次引用
- In-Situ Cross-Database Query ProcessingHaralampos Gavriilidis, Kaustubh Beedkar, Jorge-Arnulfo Quiané-Ruiz, Volker MarklICDE 2023 · 12 次引用
- NeuSO: Neural Optimizer for Subgraph QueriesLinglin Yang, Lei Zou, Chunshan ZhaoSIGMOD 2026
- Towards a Converged Relational-Graph Optimization FrameworkYunkai Lou, Longbin Lai, Bingqing Lyu, Yufan Yang 等SIGMOD 2025 · 4 次引用
- The Data World Is Not Flat: Efficient Factorized Execution for Relational SystemsStefan Lehner, Thomas NeumannVLDB 2026
