USING SQL EXTENSIBILITY FOR PROCESSING DYNAMICALLY TYPED XML DATA IN XQUERY QUERIES
    61.
    发明申请
    USING SQL EXTENSIBILITY FOR PROCESSING DYNAMICALLY TYPED XML DATA IN XQUERY QUERIES 有权
    使用SQL扩展在XQUERY QUERIES中处理动态类型的XML数据

    公开(公告)号:US20090018989A1

    公开(公告)日:2009-01-15

    申请号:US11777132

    申请日:2007-07-12

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30926 G06F17/30389

    摘要: XQuery queries that include functions that operate on dynamically typed XML data are rewritten into compilable SQL constructs. XML data that is dynamically typed is XML data for which a specific XML data type cannot be determined at compile time and in fact may vary. In general, XQuery queries are rewritten into SQL queries that use SQL constructs in lieu of XQuery constructs. The SQL constructs include an “SQL polymorphic function” that is defined or recognized by a database system as valid syntax for an SQL query. The rewritten query applies the XML data to the SQL polymorphic function, but the XML data has been typed as XMLType, a data type recognized by SQL standards.

    摘要翻译: 包括对动态类型的XML数据进行操作的函数的XQuery查询将重写为可编译的SQL结构。 动态类型化的XML数据是在编译时无法确定特定XML数据类型的XML数据,实际上可能会有所不同。 一般来说,XQuery查询将重写为使用SQL构造代替XQuery构造的SQL查询。 SQL构造包括由数据库系统定义或识别为SQL查询的有效语法的“SQL多态函数”。 重写的查询将XML数据应用于SQL多态函数,但XML数据已输入为XMLType,SQLType是由SQL标准识别的数据类型。

    XPath-based creation of relational indexes and constraints over XML data stored in relational tables
    62.
    发明授权
    XPath-based creation of relational indexes and constraints over XML data stored in relational tables 有权
    基于XPath的关系索引和约束存储在关系表中的XML数据

    公开(公告)号:US09424365B2

    公开(公告)日:2016-08-23

    申请号:US12610164

    申请日:2009-10-30

    IPC分类号: G06F7/00 G06F17/30

    摘要: 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模式时由系统创建的映射将XML数据元素的对应关系存储到自动创建的数据库表和列,这些列和列仅对内部系统有用。 当用户在创建索引或约束时在DDL中提供基于路径的表达式时,基于路径的表达式将使用映射转换为底层数据库结构。 处理针对评估多个元素的基于路径的表达式的问题。 使用XML模式中可用的数据类型信息来描述附加索引优化,以选择最佳索引类型。

    Method and system for implementing efficient updatable relational views over XML data
    63.
    发明授权
    Method and system for implementing efficient updatable relational views over XML data 有权
    用于实现XML数据的高效可更新关系视图的方法和系统

    公开(公告)号:US09396284B2

    公开(公告)日:2016-07-19

    申请号:US13110671

    申请日:2011-05-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30926 G06F17/30932

    摘要: Disclosed is a method, system, and program product for providing an efficient mechanism to provide updateable relational views over XML. This will allow application developers to write both queries and updates using a relational (SQL) syntax, even though the underlying data is stored as XML. According to some approaches, this is accomplished by implementing a reverse mapping from the data within the views to the node addresses of the corresponding data in the underlying XML document.

    摘要翻译: 公开了一种方法,系统和程序产品,用于提供有效的机制以通过XML提供可更新的关系视图。 这将允许应用程序开发人员使用关系(SQL)语法编写查询和更新,即使底层数据存储为XML。 根据一些方法,这通过实现从视图内的数据到底层XML文档中相应数据的节点地址的反向映射来实现。

    Leveraging structured XML index data for evaluating database queries
    64.
    发明授权
    Leveraging structured XML index data for evaluating database queries 有权
    利用结构化XML索引数据来评估数据库查询

    公开(公告)号:US08880506B2

    公开(公告)日:2014-11-04

    申请号:US12580923

    申请日:2009-10-16

    IPC分类号: G06F17/30 G06F15/16

    CPC分类号: G06F17/30932 G06F17/30935

    摘要: 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数据的查询。

    Providing context aware search adaptively
    65.
    发明授权
    Providing context aware search adaptively 有权
    自适应地提供上下文感知搜索

    公开(公告)号:US08447785B2

    公开(公告)日:2013-05-21

    申请号:US12792659

    申请日:2010-06-02

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30929

    摘要: A method, computing device, and a non-transitory computer-readable medium is provided for facilitating a context-aware search on documents stored in an unstructured database column. The database server determines whether a document stored in an unstructured database object is marked up according to a recognized markup language. Documents that conform to the markup language are indexed with value-to-node mappings and node-to-physical-location mappings to provide a context-aware search of marked up nodes within the documents. Documents that do not conform to the markup language are indexed with value-to-document mappings to provide a full-text search of the documents. The database server evaluates a context-aware search against documents that conform to the markup language within the unstructured column without requiring the user identify the documents as XML documents and store the documents in an XMLType structured column.

    摘要翻译: 提供了一种方法,计算设备和非暂时计算机可读介质,用于便于对存储在非结构化数据库列中的文档的上下文感知搜索。 数据库服务器确定存储在非结构化数据库对象中的文档是否根据识别的标记语言进行标记。 符合标记语言的文档使用值到节点映射和节点到物理位置映射进行索引,以提供文档中标记节点的上下文感知搜索。 不符合标记语言的文档使用值到文档的映射进行索引,以提供文档的全文搜索。 数据库服务器根据非结构化列中符合标记语言的文档评估上下文感知搜索,而不需要用户将文档标识为XML文档,并将文档存储在XMLType结构化列中。

    Using node identifiers in materialized XML views and indexes to directly navigate to and within XML fragments
    66.
    发明授权
    Using node identifiers in materialized XML views and indexes to directly navigate to and within XML fragments 有权
    在物化的XML视图和索引中使用节点标识符直接导航到XML片段内部和内部

    公开(公告)号:US08346813B2

    公开(公告)日:2013-01-01

    申请号:US12690820

    申请日:2010-01-20

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30935 G06F17/30911

    摘要: A method and apparatus is provided for efficiently searching and navigating XML data stored in a relational database. When storing a collection of XML documents, certain scalar elements may be shredded and stored in a relational table, whereas unstructured data may be stored as a CLOB or BLOB column. The approach includes identifying a reference address to within an XML tree index entry and storing the address in an xmltable index. The tree index entry allows for navigation in all axes. A path-based expression may be evaluated in the context of the reference address of the LOB. The result of the evaluation identifies another XML tree index entry containing a LOB locator used to retrieve the content from the document. The tree index, node index, and secondary function indexes are used together to enhance the performance of querying the XML data.

    摘要翻译: 提供了一种用于有效地搜索和导航存储在关系数据库中的XML数据的方法和装置。 当存储XML文档的集合时,某些标量元素可以被切割并存储在关系表中,而非结构化数据可以被存储为CLOB或BLOB列。 该方法包括在XML树索引条目中标识参考地址并将该地址存储在xmltable索引中。 树索引条目允许在所有轴上导航。 可以在LOB的参考地址的上下文中评估基于路径的表达式。 评估结果标识另一个XML树索引条目,其中包含用于从文档中检索内容的LOB定位器。 树索引,节点索引和辅助功能索引一起用于增强查询XML数据的性能。

    Efficient XML tree indexing structure over XML content
    67.
    发明授权
    Efficient XML tree indexing structure over XML content 有权
    XML内容上高效的XML树索引结构

    公开(公告)号:US08266151B2

    公开(公告)日:2012-09-11

    申请号:US12610047

    申请日:2009-10-30

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30911

    摘要: A method and apparatus are provided for building and using a persistent XML tree index for navigating an XML document. The XML tree index is stored separately from the XML document content, and thus is able to optimize performance through the use of fixed-sized index entries. The XML document hierarchy need not be constructed in volatile memory, so creating and using the XML tree index scales even for large documents. To evaluate a path expression including descendent or ancestral syntax, navigation links can be read from persistent storage and used directly to find the nodes specified in the path expression. The use of an abstract navigational interface allows applications to be written that are independent of the storage implementation of the index and the content. Thus, the XML tree index can index documents stored at least in a database, a persistent file system, or as a sequence of in memory.

    摘要翻译: 提供了一种用于构建和使用用于导航XML文档的持久XML树索引的方法和装置。 XML树索引与XML文档内容分开存储,因此能够通过使用固定大小的索引条目来优化性能。 XML文档层次结构不需要在易失性存储器中构建,因此创建和使用XML树索引即使对于大型文档也会进行缩放。 要评估包含后代或祖先语法的路径表达式,导航链接可以从持久存储读取,并直接用于查找路径表达式中指定的节点。 使用抽象导航界面允许写入独立于索引和内容的存储实现的应用程序。 因此,XML树索引可以索引至少存储在数据库中的文档,持久文件系统或作为内存中的序列。

    SEARCHING BACKWARD TO SPEED UP QUERY
    68.
    发明申请
    SEARCHING BACKWARD TO SPEED UP QUERY 有权
    搜索向后速度查询

    公开(公告)号:US20110302198A1

    公开(公告)日:2011-12-08

    申请号:US12871869

    申请日:2010-08-30

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30539

    摘要: A method, computing device, and a non-transitory computer-readable medium are provided for performing a context-aware search by finding a set of nodes that are mapped to a given text or other value and, for each node in the set of nodes, performing a reverse path lookup to determine whether the node satisfies a given context. The query processor performs the reverse path lookup for a node by traversing up a node tree away from the node, using a stored mapping from the node to a parent of the node. Using mappings from nodes to parent nodes, the node tree is traversed backwards from the node up to distant ancestor nodes through parent nodes. An optimizer instructs the query processor to perform a value-based portion of the search before a path-based portion of the search based on value distribution statistics and path distribution statistics.

    摘要翻译: 提供了一种方法,计算设备和非暂时计算机可读介质,用于通过找到映射到给定文本或其他值的节点集合来执行上下文感知搜索,并且对于节点集合中的每个节点 ,执行反向路径查找以确定节点是否满足给定的上下文。 查询处理器通过使用存储的从节点到节点的父节点的映射来遍历节点之外的节点树来执行对节点的反向路径查找。 使用从节点到父节点的映射,节点树通过父节点从节点向后穿过远处的祖先节点。 优化器指示查询处理器在基于值分布统计和路径分布统计的基于路径的搜索部分之前执行搜索的基于值的部分。

    PROVIDING CONTEXT AWARE SEARCH ADAPTIVELY
    69.
    发明申请
    PROVIDING CONTEXT AWARE SEARCH ADAPTIVELY 有权
    提供背景知识搜索自适应

    公开(公告)号:US20110302189A1

    公开(公告)日:2011-12-08

    申请号:US12792659

    申请日:2010-06-02

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30929

    摘要: A method, computing device, and a non-transitory computer-readable medium is provided for facilitating a context-aware search on documents stored in an unstructured database column. The database server determines whether a document stored in an unstructured database object is marked up according to a recognized markup language. Documents that conform to the markup language are indexed with value-to-node mappings and node-to-physical-location mappings to provide a context-aware search of marked up nodes within the documents. Documents that do not conform to the markup language are indexed with value-to-document mappings to provide a full-text search of the documents. The database server evaluates a context-aware search against documents that conform to the markup language within the unstructured column without requiring the user identify the documents as XML documents and store the documents in an XMLType structured column.

    摘要翻译: 提供了一种方法,计算设备和非暂时计算机可读介质,用于便于对存储在非结构化数据库列中的文档的上下文感知搜索。 数据库服务器确定存储在非结构化数据库对象中的文档是否根据识别的标记语言进行标记。 符合标记语言的文档使用值到节点映射和节点到物理位置映射进行索引,以提供文档中标记节点的上下文感知搜索。 不符合标记语言的文档使用值到文档的映射进行索引,以提供文档的全文搜索。 数据库服务器根据非结构化列中符合标记语言的文档评估上下文感知搜索,而不需要用户将文档标识为XML文档,并将文档存储在XMLType结构化列中。

    XPath-Based Creation Of Relational Indexes And Constraints Over XML Data Stored In Relational Tables
    70.
    发明申请
    XPath-Based Creation Of Relational Indexes And Constraints Over XML Data Stored In Relational Tables 有权
    基于XPath的关系索引的创建和关系表中存储的XML数据的约束

    公开(公告)号:US20110106812A1

    公开(公告)日:2011-05-05

    申请号:US12610164

    申请日:2009-10-30

    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.

    摘要翻译: 提供了技术和方法,用于为存储在关系数据库中的结构化XML数据创建索引和列约束。 数据定义语言(DDL)创建索引和创建约束命令具有扩展语法,允许指定基于路径的表达式,而不需要列和表名称。 在注册XML模式时由系统创建的映射将XML数据元素的对应关系存储到自动创建的数据库表和列,这些列和列仅对内部系统有用。 当用户在创建索引或约束时在DDL中提供基于路径的表达式时,基于路径的表达式将使用映射转换为底层数据库结构。 处理针对评估多个元素的基于路径的表达式的问题。 使用XML模式中可用的数据类型信息来描述附加索引优化,以选择最佳索引类型。