首页> 外国专利> Techniques for efficiently storing and querying in a relational database, XML documents conforming to schemas that contain cyclic constructs

Techniques for efficiently storing and querying in a relational database, XML documents conforming to schemas that contain cyclic constructs

机译:在关系数据库中有效存储和查询的技术,符合包含循环结构的模式的XML文档

摘要

To associate XML data objects (“child objects”), stored in rows of relational or object-relational tables, with the appropriate XML data objects (“parent objects”) from which the child objects descend, tables that contain child objects (“out-of-line” tables) are constructed with an additional column. In one embodiment, this column stores values that identify the root objects, in the appropriate table, from which the respective child objects descend. Hence, the root object from which any given object descends is traceable by following the respective value back to the corresponding root object. In one embodiment, this column stores values that identify the complete XML hierarchical path, through multiple tables, back to the root object from which the respective child objects descend. Consequently, XML query language queries against XML documents stored in such tables can be rewritten as SQL queries against the data in the tables, even in the presence of cyclic constructs.
机译:要将存储在关系表或对象关系表的行中的XML数据对象(“子对象”)与子对象从其降级的相应XML数据对象(“父对象”)相关联,这些表应包含子对象(“出行”表)使用其他列构成。在一个实施例中,该列存储在适当的表中标识根对象的值,各个子对象从该根对象下降。因此,可以通过将各个值跟随回到相应的根对象来跟踪任何给定对象所来自的根对象。在一个实施例中,该列存储通过多个表标识完整的XML分层路径的值,这些值返回到各个子对象从其下降的根对象。因此,即使存在循环构造,对存储在此类表中的XML文档的XML查询语言查询也可以重写为对表中数据的SQL查询。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号