arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.05376cs.PLcs.DBcs.LO
收藏

基于规则的数据库模式对象分析方法

A Rule-Based Approach to Analyzing Database Schema Objects with Datalog

Christiane Engels, Andreas Behrend, Stefan Brass

摘要:

数据库模式元素(如表、视图、触发器和函数)通常定义有许多相互关系。为了支持数据库用户理解一个给定的模式,基于规则的方法来分析各自的依赖关系,提出使用Datasheet表达式。我们表明,许多有趣的属性的模式元素可以系统地确定这种方式。所提出的分析的表现力是示例性的问题,计算导出的关系诱导的功能依赖。函数依赖关系的传播在数据集成和查询优化中起着重要的作用,但一般来说是一个不可判定的问题。然而,我们基于规则的分析涵盖了所有的关系运算符以及线性递归表达式,以系统的方式显示了我们的建议可能的分析深度。函数依赖关系的分析被很好地集成在一个统一的方法中,用于分析一般模式元素之间的依赖关系。

英文摘要:

Database schema elements such as tables, views, triggers and functions are typically defined with many interrelationships. In order to support database users in understanding a given schema, a rule-based approach for analyzing the respective dependencies is proposed using Datalog expressions. We show that many interesting properties of schema elements can be systematically determined this way. The expressiveness of the proposed analysis is exemplarily shown with the problem of computing induced functional dependencies for derived relations. The propagation of functional dependencies plays an important role in data integration and query optimization but represents an undecidable problem in general. And yet, our rule-based analysis covers all relational operators as well as linear recursive expressions in a systematic way showing the depth of analysis possible by our proposal. The analysis of functional dependencies is well-integrated in a uniform approach to analyzing dependencies between schema elements in general.

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

↑