通过统一模型跨关系与图连接实体
Joining Entities Across Relation and Graph with a Unified Model
AI总结:
针对异构数据源跨格式实体提取与匹配问题,提出RG统一模型及配套SQL方言、图逻辑表示与混合查询评估策略,实现RDBMS内高效处理图与关系数据,性能媲美原生图引擎。
摘要:
本文提出RG(Relational Genetic,关系遗传)模型,这是一种改进的关系模型,用于在关系数据库管理系统(RDBMS)中表示图结构数据同时保留其拓扑结构,以高效且有效地从异构数据源提取不同格式的数据。该模型配套包含三部分内容:(a)SQL$_δ$,一种扩展了图模式查询与元组-顶点连接的SQL方言,用户可通过图模式匹配提取图属性,并跨关系与图进行实体的“语义”匹配;(b)RDBMS中图的逻辑表示,引入了用于高效模式查询的探索算子,同时支持图结构数据的浏览与更新;(c)一种统一评估SQL查询、模式查询以及连接元组与顶点的混合查询的策略,所有查询均在RDBMS内部执行,利用其查询优化器实现,且不会因切换不同执行引擎导致性能下降。本文开发了一个轻量级系统WhiteDB作为实现,以评估其在真实数据上能带来的实际收益。实验验证表明,RG模型支持图模式查询的响应效率与原生图引擎相当;可按任意顺序考虑图与关系的访问以生成最优执行计划;还支持有效的数据扩充。
英文摘要:
This paper introduces RG (Relational Genetic) model, a revised relational model to represent graph-structured data in RDBMS while preserving its topology, for efficiently and effectively extracting data in different formats from disparate sources. Along with: (a) SQL$_δ$, an SQL dialect augmented with graph pattern queries and tuple-vertex joins, such that one can extract graph properties via graph pattern matching, and "semantically" match entities across relations and graphs; (b) a logical representation of graphs in RDBMS, which introduces an exploration operator for efficient pattern querying, supports also browsing and updating graph-structured data; and (c) a strategy to uniformly evaluate SQL, pattern and hybrid queries that join tuples and vertices, all inside an RDBMS by leveraging its optimizer without performance degradation on switching different execution engines. A lightweight system, WhiteDB, is developed as an implementation to evaluate the benefits it can actually bring on real-life data. We empirically verified that the RG model enables the graph pattern queries to be answered as efficiently as in native graph engines; can consider the access on graph and relation in any order for optimal plan; and supports effective data enrichment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。