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

关系运算到超图模型的映射

Mapping Relational Operations onto Hypergraph Model

Amani Tahat, Maurice HT Ling

摘要:

关系模型是存储大型数据集的最常用的数据模型,这可能是由于表格格式的简单性,它彻底改变了数据库管理系统。然而,许多现实世界的对象本质上是递归和关联的,这使得在关系模型中的存储变得困难。超图模型是图模型的推广,其中每个超节点可以由其他节点或图组成,并且每个超边可以由一个或多个边组成。它可以解决关系模型的递归和关联限制。然而,超图模型是非表格的;因此,失去了关系模型的简单性。在这项研究中,我们考虑的手段转换一个关系模型到超图模型在两个层次。在底层,每个关系元组可以被认为是一个以主键码节点被非主键码属性包围为中心的星形图。在顶层,每个元组是一个超节点,关系是一组超节点。我们提出了一个超图模型上的关系运算符(投影,重命名,选择,内连接,自然连接,左连接,右连接,外连接和笛卡尔连接)的参考实现。使用一个简单的例子,我们证明了一个关系和关系运算符可以在这个超图模型上实现。

英文摘要:

The relational model is the most commonly used data model for storing large datasets, perhaps due to the simplicity of the tabular format which had revolutionized database management systems. However, many real world objects are recursive and associative in nature which makes storage in the relational model difficult. The hypergraph model is a generalization of a graph model, where each hypernode can be made up of other nodes or graphs and each hyperedge can be made up of one or more edges. It may address the recursive and associative limitations of relational model. However, the hypergraph model is non-tabular; thus, loses the simplicity of the relational model. In this study, we consider the means to convert a relational model into a hypergraph model in two layers. At the bottom layer, each relational tuple can be considered as a star graph centered where the primary key node is surrounded by non-primary key attributes. At the top layer, each tuple is a hypernode, and a relation is a set of hypernodes. We presented a reference implementation of relational operators (project, rename, select, inner join, natural join, left join, right join, outer join and Cartesian join) on a hypergraph model. Using a simple example, we demonstrate that a relation and relational operators can be implemented on this hypergraph model.

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

↑