首页> 外国专利> Leveraging structured XML index data for evaluating database queries

Leveraging structured XML index data for evaluating database queries

机译:利用结构化XML索引数据评估数据库查询

摘要

A query may be rewritten to leverage information stored in a structured XML index. An operator in the query may be analyzed to determine an input source database object for the operator by traversing an operator tree rooted at the operator. The path expressions associated with the operator tree may be fused together to form an effective path expression for the operator. If the effective path expression directly matches a path expression derived from the index, the query may be rewritten using references to the index. Operators in a query that have effective paths that refer to data in the same index table may be grouped together. A single subquery may be written for a group of operators. Also, a structured XML index may be used as an implied schema for indexed XML data. This implied schema may be used to optimize queries that refer to the indexed XML data.
机译:可以重写查询以利用存储在结构化XML索引中的信息。可以分析查询中的运算符,以遍历植根于该运算符的运算符树来确定该运算符的输入源数据库对象。与运算符树关联的路径表达式可以融合在一起,以形成运算符的有效路径表达式。如果有效路径表达式直接与从索引派生的路径表达式匹配,则可以使用对索引的引用来重写查询。查询中具有引用相同索引表中数据的有效路径的运算符可以组合在一起。可以为一组运算符编写单个子查询。而且,结构化XML索引可用作索引XML数据的隐含模式。此隐式架构可用于优化引用索引XML数据的查询。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号