首页> 外国专利> XPath-based creation of relational indexes and constraints over XML data stored in relational tables

XPath-based creation of relational indexes and constraints over XML data stored in relational tables

机译:基于XPath的关系索引的创建和对关系表中存储的XML数据的约束

摘要

Techniques and approaches are provided for creating indexes and column constraints on structured XML data that is stored in a relational database. Data Definition Language (DDL) Create Index and Create Constraint commands have extended syntax that allows the specification of a path-based expression instead of requiring a column and table name. A mapping created by the system when an XML Schema is registered stores the correspondence of XML data elements to automatically-created database tables and columns that are given names only useful for the internal system. When a user provides a path-based expression in a DDL when creating an index or constraint, the path-based expression is translated to the underlying database constructs using the mapping. Issues are addressed for handling path-based expressions that evaluate to more than one element. Additional index optimization is described using data type information available in the XML schema to select the optimal index type.
机译:提供了用于在关系数据库中存储的结构化XML数据上创建索引和列约束的技术和方法。数据定义语言(DDL)的“创建索引”和“创建约束”命令具有扩展的语法,该语法允许指定基于路径的表达式,而不需要列和表名。注册XML Schema时系统创建的映射将XML数据元素与自动创建的数据库表和列的对应关系存储起来,这些表和列的名称仅对内部系统有用。当用户在创建索引或约束时在DDL中提供基于路径的表达式时,将使用映射将基于路径的表达式转换为基础数据库构造。解决了处理基于路径的表达式而得出的多个元素的问题。使用XML模式中可用的数据类型信息选择最佳索引类型来描述其他索引优化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号