发明申请
US20110106812A1 XPath-Based Creation Of Relational Indexes And Constraints Over XML Data Stored In Relational Tables
有权
基于XPath的关系索引的创建和关系表中存储的XML数据的约束
- 专利标题: XPath-Based Creation Of Relational Indexes And Constraints Over XML Data Stored In Relational Tables
- 专利标题(中): 基于XPath的关系索引的创建和关系表中存储的XML数据的约束
-
申请号: US12610164申请日: 2009-10-30
-
公开(公告)号: US20110106812A1公开(公告)日: 2011-05-05
- 发明人: Beda Christoph Hammerschmidt , Zhen Hua Liu , Thomas Baby
- 申请人: Beda Christoph Hammerschmidt , Zhen Hua Liu , Thomas Baby
- 申请人地址: US CA REDWOOD SHORES
- 专利权人: ORACLE INTERNATIONAL CORPORATION
- 当前专利权人: ORACLE INTERNATIONAL CORPORATION
- 当前专利权人地址: US CA REDWOOD SHORES
- 主分类号: G06F7/00
- IPC分类号: G06F7/00
摘要:
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.
公开/授权文献
信息查询