首页> 外文期刊>SIGMOD record >Join Minimization in XML-to-SQL Translation: An Algebraic Approach
【24h】

Join Minimization in XML-to-SQL Translation: An Algebraic Approach

机译:XML到SQL转换中的联接最小化:一种代数方法

获取原文
获取原文并翻译 | 示例
           

摘要

Consider an XML view defined over a relational database, and a user query specified over this view. This user XML query is typically processed using the following steps: (a) our translator maps the XML query to one or more SQL queries, (b) the relational engine translates an SQL query to a relational algebra plan, (c) the relational engine executes the algebra plan and returns SQL results, and (d) our translator translates the SQL results back to XML. However, a straightforward approach produces a relational algebra plan after step (b) that is inefficient and has redundant joins. In this paper, we report on our preliminary observations with respect to how joins in such a relational algebra plan can be minimized. Our approach works on the relational algebra plan and optimizes it using novel rewrite rules that consider pairs of joins in the plan and determine whether one of them is redundant and hence can be removed. Our study shows that algebraic techniques achieve effective join minimization, and such techniques are useful and can be integrated into mainstream SQL engines.
机译:考虑在关系数据库上定义的XML视图,以及在该视图上指定的用户查询。通常使用以下步骤来处理该用户XML查询:(a)我们的翻译器将XML查询映射到一个或多个SQL查询,(b)关系引擎将SQL查询转换为关系代数计划,(c)关系引擎执行代数计划并返回SQL结果,并且(d)我们的翻译器将SQL结果转换回XML。但是,一种简单的方法会在步骤(b)之后生成关系代数计划,该计划效率低下并且具有多余的联接。在本文中,我们报告了有关如何最小化这种关系代数计划中的联接的初步观察结果。我们的方法适用于关系代数计划,并使用新颖的重写规则对其进行优化,该规则考虑了计划中的成对连接,并确定其中的一对是否冗余,因此可以删除。我们的研究表明,代数技术可以实现有效的联接最小化,并且这些技术很有用,并且可以集成到主流SQL引擎中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号