arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.05921cs.DB
收藏

基于关系的可编程视图更新策略

Programmable View Update Strategies on Relations

Van-Dang Tran, Hiroyuki Kato, Zhenjiang Hu

摘要:

视图更新是一种重要的机制,它通过将视图更新转换为相应的基关系更新来实现视图更新。现有的文献已经显示了翻译视图更新的模糊性。为了解决这种模糊性,我们提出了一个强大的基于语言的方法,使视图更新策略的可编程性和可验证性。具体来说,我们引入了一种新的方法来使用Datasheet来描述这些更新策略。我们提出了一个验证算法来检查写好的Datasheet程序的良好性。我们提出了一个片段的Datasheet语言,我们的验证是健全的和完整的。该片段不仅在理论上具有良好的性质,而且在解决实际视图更新问题上也是有用的。此外,我们开发了一种算法,用于优化用户编写的程序,以有效地实现可更新的意见,在关系数据库管理系统。我们已经实施了我们提出的方法。实验结果表明,该框架在实践中是可行的和有效的。

英文摘要:

View update is an important mechanism that allows updates on a view by translating them into the corresponding updates on the base relations. The existing literature has shown the ambiguity of translating view updates. To address this ambiguity, we propose a robust language-based approach for making view update strategies programmable and validatable. Specifically, we introduce a novel approach to use Datalog to describe these update strategies. We propose a validation algorithm to check the well-behavedness of the written Datalog programs. We present a fragment of the Datalog language for which our validation is both sound and complete. This fragment not only has good properties in theory but is also useful for solving practical view updates. Furthermore, we develop an algorithm for optimizing user-written programs to efficiently implement updatable views in relational database management systems. We have implemented our proposed approach. The experimental results show that our framework is feasible and efficient in practice.

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

↑