Techniques of XML query optimization over static heterogeneous XML containers
    61.
    发明申请
    Techniques of XML query optimization over static heterogeneous XML containers 有权
    关于静态异构XML容器的XML查询优化技术

    公开(公告)号:US20080016122A1

    公开(公告)日:2008-01-17

    申请号:US11486794

    申请日:2006-07-13

    IPC分类号: G06F17/30

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。

    XML QUERY OPTIMIZATION WITH ORDER ANALYSIS OF XML SCHEMA
    62.
    发明申请
    XML QUERY OPTIMIZATION WITH ORDER ANALYSIS OF XML SCHEMA 有权
    XML查询优化与XML SCHEMA的订单分析

    公开(公告)号:US20110047143A1

    公开(公告)日:2011-02-24

    申请号:US12545737

    申请日:2009-08-21

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/30935

    摘要: Techniques for determining whether an XML query may be written are provided. In one scenario, an XML query includes an expandable path, which is a path expression that includes a wildcard character (*) or a descendant axis (//). An XML schema is used to generate multiple expanded paths (each of which is a simple path expression) from the expandable path. The XML schema is used to compare each expanded path to another expanded path and to determine whether the nodes identified by the respective expanded paths are guaranteed to occur in a particular order in XML documents that conform to the XML schema. In another scenario, an XML query includes an order operator that takes two paths as input. Similarly, an XML schema is used to compare the two paths and to determine whether the nodes identified by the two paths are guaranteed to occur in a particular order in XML documents that conform to the XML schema.

    摘要翻译: 提供了用于确定是否可以写入XML查询的技术。 在一种情况下,XML查询包括可扩展路径,它是包含通配符(*)或后代轴(//)的路径表达式。 使用XML模式从可扩展路径生成多个扩展路径(每个路径都是简单的路径表达式)。 XML模式用于将每个扩展路径与另一个扩展路径进行比较,并确定由相应扩展路径标识的节点是否保证以符合XML模式的XML文档中的特定顺序发生。 在另一种情况下,XML查询包括一个订单运算符,它将两条路径作为输入。 类似地,使用XML模式来比较两个路径,并确定由两个路径标识的节点是否保证以符合XML模式的XML文档中的特定顺序发生。

    Rewriting node reference-based XQuery using SQL/SML
    63.
    发明授权
    Rewriting node reference-based XQuery using SQL/SML 有权
    使用SQL / XML重写基于节点引用的XQuery

    公开(公告)号:US07870124B2

    公开(公告)日:2011-01-11

    申请号:US11955944

    申请日:2007-12-13

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30932

    摘要: Techniques for processing reference-based SQL/XML operators are provided. Instead of extracting copies of one or more nodes from XML data, a reference-based operator returns a reference to a node. Such a reference is used to determine, for example, whether the corresponding node comes logical before, after, or is the same as another node. An SQL/XML query that includes a reference-based operator may be the original query, or may be generated (e.g., rewritten) from a non-SQL/XML query, such as an XQuery query. One or more physical rewrites may be performed on the SQL/XML query, depending on how the XML data is stored and/or whether an XML index exists for the XML data.

    摘要翻译: 提供了处理基于引用的SQL / XML操作符的技术。 基于引用的运算符不会从XML数据中提取一个或多个节点的副本,而是返回对节点的引用。 这样的引用用于例如确定对应的节点是否在另一个节点之前,之后或与之相同的逻辑。 包括基于引用的运算符的SQL / XML查询可以是原始查询,或者可以从非SQL / XML查询(例如XQuery查询)生成(例如,重写)。 可以根据XML数据的存储方式和/或XML数据是否存在XML索引,在SQL / XML查询上执行一个或多个物理重写。

    Techniques of XML query optimization over dynamic heterogeneous XML containers
    65.
    发明申请
    Techniques of XML query optimization over dynamic heterogeneous XML containers 审中-公开
    动态异构XML容器的XML查询优化技术

    公开(公告)号:US20080016088A1

    公开(公告)日:2008-01-17

    申请号:US11486798

    申请日:2006-07-13

    IPC分类号: G06F7/00

    CPC分类号: G06F16/86

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。

    Techniques for serialization of instances of the XQuery data model
    67.
    发明授权
    Techniques for serialization of instances of the XQuery data model 有权
    用于序列化XQuery数据模型实例的技术

    公开(公告)号:US07802180B2

    公开(公告)日:2010-09-21

    申请号:US11246429

    申请日:2005-10-06

    IPC分类号: G06N3/00

    CPC分类号: G06F17/30917 G06F17/30932

    摘要: A method for representing XML information is provided. A serialized image of XML information is generated. The serialized image comprises a collection of one or more serialized data values, where each particular serialized data value in the collection includes data associated with a particular serialized data value type of a plurality of serialized data value types. The serialized image may also comprise a first field that includes a first value, which indicates that the serialized image includes the collection of one or more serialized data values. In some embodiments, the method is performed at a database system that supports a native XML data type, wherein the XML information is one or more instances of the native XML data type.

    摘要翻译: 提供了一种表示XML信息的方法。 生成XML信息的序列化图像。 序列化图像包括一个或多个序列化数据值的集合,其中集合中的每个特定序列化数据值包括与多个序列化数据值类型的特定序列化数据值类型相关联的数据。 序列化图像还可以包括第一字段,其包括第一值,其指示序列化图像包括一个或多个序列化数据值的集合。 在一些实施例中,该方法在支持本机XML数据类型的数据库系统上执行,其中该XML信息是本机XML数据类型的一个或多个实例。

    Techniques of XML query optimization over static and dynamic heterogeneous XML containers
    68.
    发明授权
    Techniques of XML query optimization over static and dynamic heterogeneous XML containers 有权
    基于静态和动态异构XML容器的XML查询优化技术

    公开(公告)号:US07577642B2

    公开(公告)日:2009-08-18

    申请号:US11486794

    申请日:2006-07-13

    IPC分类号: G06F7/00

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。

    Techniques of using a relational caching framework for efficiently handling XML queries in the mid-tier data caching
    69.
    发明授权
    Techniques of using a relational caching framework for efficiently handling XML queries in the mid-tier data caching 有权
    使用关系缓存​​框架在中层数据缓存中有效处理XML查询的技术

    公开(公告)号:US07499909B2

    公开(公告)日:2009-03-03

    申请号:US11481159

    申请日:2006-07-03

    IPC分类号: G06F17/30

    摘要: A method and apparatus for processing queries is provided. A query is received at a mid-tier node of a multi-tier system. The mid-tier node includes a mid-tier cache that is configured to cache relational tables from one or more databases managed by a database server in a database tier of the multi-tier system. At the mid-tier node, a determination is made whether the received query includes an operator for requesting data of an XML datatype from the database server, where the XML datatype is supported as a native datatype by the database server. If a determination is made that the query includes such operator, then one or more portions of one or more relational tables are retrieved from the database server and stored in the mid-tier cache. The one or more relational tables store, in the one or more portions, index information associated with the requested data of the XML datatype. The received query is rewritten into a relational query against at least the one or more portions of the one or more relational tables that are stored in the mid-tier cache.

    摘要翻译: 提供了一种用于处理查询的方法和装置。 在多层系统的中间层节点处接收到查询。 中间层节点包括中间层缓存,其被配置为从多层系统的数据库层中的数据库服务器管理的一个或多个数据库缓存关系表。 在中间层节点,确定接收到的查询是否包括用于从数据库服务器请求数据类型的数据的操作员,其中数据库服务器将XML数据类型支持为本机数据类型。 如果确定查询包括这样的运算符,则从数据库服务器检索一个或多个关系表的一个或多个部分,并存储在中间层缓存中。 所述一个或多个关系表在一个或多个部分中存储与所述XML数据类型的所请求的数据相关联的索引信息。 所接收的查询根据至少存储在中间层高速缓存中的一个或多个关系表的一个或多个部分重写到关系查询中。

    USING SQL EXTENSIBILITY FOR PROCESSING DYNAMICALLY TYPED XML DATA IN XQUERY QUERIES
    70.
    发明申请
    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标准识别的数据类型。