arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.13835cs.DBcs.LG
收藏

MICRO:一种轻量级中间件,用于优化跨存储跨模型图关系连接 [技术报告]

MICRO: A Lightweight Middleware for Optimizing Cross-store Cross-model Graph-Relation Joins [Technical Report]

Xiuwen Zheng, Arun Kumar, Amarnath Gupta

AI总结:

本文提出MICRO中间件,通过统一代数定义跨模型连接查询,设计基准测试并展示其在异构系统中高效执行的能力,实验表明其在运行时间上优于现有系统。

摘要:

现代数据应用越来越多地涉及在不同模型中管理的异构数据,存储于不同的数据库引擎中,通常作为单独安装。有限的研究已解决联邦环境中跨模型查询处理问题。本文通过:(1)通过提出统一代数正式定义图存储和关系存储之间的跨模型连接查询;(2)引入一个现实世界基准和四个半合成基准来评估此类查询;(3)提出轻量级中间件MICRO用于高效查询执行。MICRO的核心是CMLero,一种基于学习排序的查询优化器,能够在不需精确成本估计的情况下选择高效的执行计划。通过避免将所有数据材料化或转换为单一模型的需求,这通常由于第三方数据控制或成本而不可行,MICRO使异构系统的原生查询成为可能。在基准工作负载上的实验结果表明,MICRO在完整测试集上总运行时间比最先进的联邦关系系统XDB快多达2.1倍。在现实世界基准的93个测试查询中,14个查询实现了超过100倍的速度提升,包括4个查询超过100倍的速度提升;然而,4个查询出现了超过5秒的减速,突显了MICRO未来改进的机会。进一步的比较显示,CMLero在复杂跨模型优化中始终优于基于规则和回归的优化器,突显了学习排序的优势。

英文摘要:

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-to-rank-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.1x in total runtime across the full test set. On the 93 test queries of real-world benchmark, 14 queries achieve over 100 speedup, including 4 queries with more than 100x 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 cross-model optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑