首页> 外文学位 >XML-to-SQL query translation.
【24h】

XML-to-SQL query translation.

机译:XML到SQL的查询转换。

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

摘要

Developing techniques for managing and querying the growing body of XML data is becomingly increasingly important. A popular approach to evaluating XML queries is to translate them to relational queries and then to use a relational database system to evaluate the result.; The XML and relational data models are significantly different, and as a result, the corresponding query languages (XQuery and SQL respectively) also differ significantly. This mismatch raises some interesting questions: (i) From a functionality perspective, is it possible to handle all XML data sets using this approach or are there any fundamental limitations in SQL that create problems? (ii) From a performance perspective, are there any implications on the quality of the SQL queries produced due to this mismatch between the two data models? In this thesis, we address the above two questions in two different scenarios: XML storage and XML publishing. In the former, the goal is to use relational databases to store and query existing XML data, while in the latter, existing relational data is exported as XML.; We demonstrate that it is possible to translate path expression queries (an important class of XML queries) into a single SQL query, even in the presence of recursion in the XML schema and the XML query. We then show that the SQL queries output by previously published algorithms often blindly reflect the hierarchical nature of the XML schema, even when it is clearly unnecessary. We present algorithms that avoid this problem by using additional semantic information intelligently. Since the form and nature of semantic information available differs for the XML storage and XML publishing scenarios, we need different mechanisms for achieving this goal in the two scenarios. Experiments with a commercial relational database system show that the SQL queries output by our algorithms can be far more efficient than the queries output by previous translation algorithms.
机译:开发用于管理和查询不断增长的XML数据的技术变得越来越重要。评估XML查询的一种流行方法是将它们转换为关系查询,然后使用关系数据库系统评估结果。 XML和关系数据模型显着不同,因此,相应的查询语言(分别为XQuery和SQL)也显着不同。这种不匹配提出了一些有趣的问题:(i)从功能的角度来看,是否有可能使用这种方法处理所有XML数据集,或者SQL中是否存在产生问题的基本限制? (ii)从性能的角度来看,由于两个数据模型之间的这种不匹配,对生成的SQL查询的质量是否有任何影响?在本文中,我们在两种不同的情况下解决以上两个问题:XML存储和XML发布。前者的目标是使用关系数据库来存储和查询现有的XML数据,而后者的目标是将现有的关系数据导出为XML。我们证明,即使在XML模式和XML查询中存在递归的情况下,也可以将路径表达式查询(一类重要的XML查询)转换为单个SQL查询。然后,我们证明了以前发布的算法输出的SQL查询经常盲目地反映XML模式的层次结构性质,即使显然没有必要。我们提出了通过智能地使用其他语义信息来避免此问题的算法。由于可用的语义信息的形式和性质在XML存储和XML发布方案中有所不同,因此我们需要在两种方案中使用不同的机制来实现此目标。商业关系数据库系统的实验表明,我们的算法输出的SQL查询比以前的翻译算法输出的查询效率更高。

著录项

  • 作者

    Krishnamurthy, Rajasekar.;

  • 作者单位

    The University of Wisconsin - Madison.;

  • 授予单位 The University of Wisconsin - Madison.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2004
  • 页码 168 p.
  • 总页数 168
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

  • 入库时间 2022-08-17 11:43:58

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号