Techniques of efficient XML query using combination of XML table index and path/value index
    1.
    发明授权
    Techniques of efficient XML query using combination of XML table index and path/value index 有权
    使用XML表索引和路径/值索引的组合的高效XML查询技术

    公开(公告)号:US09436779B2

    公开(公告)日:2016-09-06

    申请号:US11601146

    申请日:2006-11-17

    IPC分类号: G06F17/30

    摘要: A mechanism is provided for accessing XML data in a database system using a combination of a XML Table Index table and a XML Path Index table. By using a combination of a XML Table Index and a XML Path Index, both selection access and navigational access involved in a query can be optimized. For example, the XML Table Index gives the database system an ability to readily evaluate the predicate expression, thereby improving the selection access. Moreover, in some embodiments, the selection access can be further improved by using secondary indexes on columns contained in the XML Table Index table. In a complementary manner, the XML Path Index table gives the database system an ability to navigate to a specific location given a path expression, thereby improving the navigational access. Thus, by combining both tables, both selection and navigational accesses are improved.

    摘要翻译: 提供了一种机制,用于使用XML表索引表和XML路径索引表的组合来访问数据库系统中的XML数据。 通过使用XML表索引和XML路径索引的组合,可以优化查询中涉及的选择访问和导航访问。 例如,XML表索引使数据库系统能够容易地评估谓词表达式,从而改善选择访问。 此外,在一些实施例中,可以通过在XML表索引表中包含的列上使用辅助索引来进一步改进选择访问。 以互补的方式,XML路径索引表给数据库系统一个导航到指定路径表达式的特定位置的能力,从而改善导航访问。 因此,通过组合两个表,提高了选择和导航访问。

    Techniques for providing XQuery access using web services
    2.
    发明授权
    Techniques for providing XQuery access using web services 有权
    使用Web服务提供XQuery访问的技术

    公开(公告)号:US07908286B2

    公开(公告)日:2011-03-15

    申请号:US11007894

    申请日:2004-12-08

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30923 G06F17/30861

    摘要: An XQuery access API is described, for providing access to XML data from a data source, using the XQuery language. A requestor can request, from a server, performance of an operation on XML data, wherein request messages and response messages conform to the Simple Object Access Protocol (SOAP). Request and response messages can be transmitted using Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol over Secure Socket Layer (HTTPS). The format of the request and response messages is specified in a definition of a Web service, where the definition conforms to the Web Service Description Language (WSDL).

    摘要翻译: 描述了一个XQuery访问API,用于使用XQuery语言提供从数据源访问XML数据。 请求者可以从服务器请求执行对XML数据的操作,其中请求消息和响应消息符合简单对象访问协议(SOAP)。 请求和响应消息可以使用超文本传输​​协议(HTTP)或超文本传输​​协议通过安全套接字层(HTTPS)传输。 请求和响应消息的格式在Web服务的定义中指定,其中定义符合Web服务描述语言(WSDL)。

    Techniques of rewriting descendant and wildcard XPath using one or more of SQL OR, UNION ALL, and XMLConcat() construct
    3.
    发明授权
    Techniques of rewriting descendant and wildcard XPath using one or more of SQL OR, UNION ALL, and XMLConcat() construct 有权
    使用SQL OR,UNION ALL和XMLConcat()构造中的一个或多个重写后代和通配符XPath的技术

    公开(公告)号:US07730080B2

    公开(公告)日:2010-06-01

    申请号:US11474038

    申请日:2006-06-23

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30935

    摘要: A method for processing queries is provided. A first representation of a query is generated, where the query includes a certain operator that is to be performed based on an XPath expression that is expandable into multiple location paths. The first representation of the query is rewritten into a second representation that corresponds to an equivalent query, where rewriting the first representation includes expanding the XPath expression into the plurality of location paths and, based on the certain operator, including a plurality of operators in the second representation, where the plurality of operators include: a first set of operators that is to be performed based on each of the plurality of location paths, and a second set of operators that is to be performed based on data returned from at least one operator included in the first set of operators. The query may thereafter be executed based on the second representation. The second representation may be further rewritten to third representation depending on the physical storage of XML.

    摘要翻译: 提供了一种处理查询的方法。 生成查询的第一个表示形式,其中查询包含一个基于可扩展到多个位置路径的XPath表达式执行的某个运算符。 查询的第一表示被重写成对应于等效查询的第二表示,其中重写第一表示包括将XPath表达式扩展到多个位置路径中,并且基于特定运算符,包括多个运算符 第二表示,其中所述多个运算符包括:将基于所述多个位置路径中的每一个来执行的第一组运算符,以及将基于从至少一个运算符返回的数据来执行的第二组运算符 包含在第一组运算符中。 此后可以基于第二表示来执行查询。 取决于XML的物理存储,第二表示可以进一步重写为第三表示。

    Optimization of queries over XML views that are based on union all operators
    4.
    发明授权
    Optimization of queries over XML views that are based on union all operators 有权
    基于联合所有运算符优化基于XML视图的查询

    公开(公告)号:US07685150B2

    公开(公告)日:2010-03-23

    申请号:US11237286

    申请日:2005-09-27

    IPC分类号: G06F17/30

    摘要: Optimization is provided for database statements involving XML data, e.g., XPath and XQuery, which operate over views that use aggregate set operators, e.g., UNION ALL. As part of a “view merge” stage of query transformation, the query that operates over the view is merged with a query that defines the view. One or more expressions (e.g., operators, predicates, virtual table constructs) from the query that operates over the view are then “pushed down” to operate on the individual underlying XML data constructs. “Branch elimination” is performed based on the structure of the view and the query acting over the view, based on which it is possible to determine whether any of the sub-queries, if executed, would result in the return of zero rows. If so, then such branches are eliminated from the transformed query, leaving a reduced set of data containers on which to execute the query.

    摘要翻译: 针对涉及XML数据的数据库语句(例如,XPath和XQuery)提供优化,该数据库语句对使用聚合集合运算符(例如UNION ALL)的视图进行操作。 作为查询转换的“视图合并”阶段的一部分,通过视图操作的查询与定义视图的查询合并。 然后,通过视图操作的查询中的一个或多个表达式(例如,运算符,谓词,虚拟表结构)被“推下”以对各个底层XML数据结构进行操作。 基于视图的结构和在视图上执行的查询执行“分支消除”,基于此可以确定是否任何子查询(如果被执行)将导致返回零行。 如果是这样,则从转换的查询中消除这样的分支,留下一组减少的数据容器来执行查询。

    Techniques of efficient query over text, image, audio, video and other domain specific data in XML using XML table index with integration of text index and other domain specific indexes
    5.
    发明申请
    Techniques of efficient query over text, image, audio, video and other domain specific data in XML using XML table index with integration of text index and other domain specific indexes 有权
    使用XML表索引对文本,图像,音频,视频和XML中的其他域特定数据进行高效查询的技术,整合文本索引和其他域特定索引

    公开(公告)号:US20080120322A1

    公开(公告)日:2008-05-22

    申请号:US11601147

    申请日:2006-11-17

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30911 G06F17/30929

    摘要: Commonly searched nodes of complex data types contained in a collection of XML documents can be projected to, and their values can be stored in, corresponding columns in XML Table Index tables in a database system. In one embodiment, those columns stores logical pointers, rather than raw values, of the complex data types. Domain indexes are further provided to index at least one of the columns of complex data types in XML Table Indexes. The inclusion of complex data types and domain indexes provide a more efficient mechanism for searching domain specific data, such as audio, video, text stored in the collection of XML documents. Query optimizer logic of the database system can prepare one or more query execution plans for a submitted query including a plan that leverages XML Table Indexes and domain indexes and select a query execution plan based on cost information.

    摘要翻译: 可以将包含在XML文档集合中的复杂数据类型的常见搜索节点投影到其数据库系统中的XML表索引表中的相应列中,并将其值存储在相应的列中。 在一个实施例中,这些列存储复杂数据类型的逻辑指针而不是原始值。 进一步提供域索引以索引XML表索引中复杂数据类型的列中的至少一列。 包含复杂数据类型和域索引提供了一种更有效的机制,用于搜索存储在XML文档集合中的域特定数据,例如音频,视频,文本。 数据库系统的查询优化器逻辑可以为提交的查询准备一个或多个查询执行计划,包括利用XML表索引和域索引的计划,并根据成本信息选择查询执行计划。

    Technique of using XMLType tree as the type infrastructure for XML
    6.
    发明授权
    Technique of using XMLType tree as the type infrastructure for XML 有权
    使用XMLType树作为XML类型基础设施的技术

    公开(公告)号:US07685137B2

    公开(公告)日:2010-03-23

    申请号:US11044472

    申请日:2005-01-26

    IPC分类号: G06F7/00

    CPC分类号: G06F17/2247

    摘要: A universal format is used to create a type representation of XMLType instances that are generated in various ways from various sources. An XMLType Type Tree is represented as a hierarchy of nodes, including leaf item node, composite item node, operator node, aggregate node, referred to herein as an XMLType Type Tree. An XMLType Type Tree serves as a digest of the type structure of XMLType, no matter the source of the XMLType instance or its manner of its generation and it creates one uniform abstraction of the type structure of XMLType for the data-typing analysis of XPath and XQuery during query compile time.

    摘要翻译: 通用格式用于创建以各种方式生成的XMLType实例的类型表示形式。 XMLType类型树被表示为节点的层次结构,包括叶项目节点,复合项目节点,运营商节点,聚合节点,这里称为XMLType类型树。 XMLType类型树作为XMLType的类型结构的摘要,无论XMLType实例的来源或其生成方式如何,它都会为XPath的数据类型分析创建XMLType类型结构的一个统一抽象, 查询编译期间的XQuery。

    Processing queries against one or more markup language sources
    7.
    发明授权
    Processing queries against one or more markup language sources 有权
    处理针对一个或多个标记语言源的查询

    公开(公告)号:US07668806B2

    公开(公告)日:2010-02-23

    申请号:US10948536

    申请日:2004-09-22

    IPC分类号: G06F17/30

    摘要: Techniques are provided for processing a query, including receiving the query, where the query specifies certain operations to be performed, including (a) a first set of one or more operations that are to be performed on a markup language data source and (b) a second set of one or more operations that are to be performed on a second data source. Then it is determined that a first server that manages the markup language data source is capable of performing the first set of operations. A request is sent to the first server to perform the first set of operations. A response is received, where the response contains results of performing the first set of operations on the markup language data source. Finally, results are generated for the query based at least in part on the results of performing the first set of operations.

    摘要翻译: 提供了用于处理查询的技术,包括接收查询,其中查询指定要执行的某些操作,包括(a)要在标记语言数据源上执行的一个或多个操作的第一组,以及(b) 要在第二数据源上执行的一个或多个操作的第二组。 然后,确定管理标记语言数据源的第一服务器能够执行第一组操作。 发送请求到第一台服务器执行第一组操作。 收到响应,其中响应包含对标记语言数据源执行第一组操作的结果。 最后,至少部分地基于执行第一组操作的结果为查询生成结果。

    Techniques of rewriting descendant and wildcard XPath using combination of SQL OR, UNION ALL, and XMLConcat() construct
    9.
    发明申请
    Techniques of rewriting descendant and wildcard XPath using combination of SQL OR, UNION ALL, and XMLConcat() construct 有权
    使用SQL OR,UNION ALL和XMLConcat()构造的组合重写后代和通配符XPath的技术

    公开(公告)号:US20070299834A1

    公开(公告)日:2007-12-27

    申请号:US11474038

    申请日:2006-06-23

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30935

    摘要: A method for processing queries is provided. A first representation of a query is generated, where the query includes a certain operator that is to be performed based on an XPath expression that is expandable into multiple location paths. The first representation of the query is rewritten into a second representation that corresponds to an equivalent query, where rewriting the first representation includes expanding the XPath expression into the plurality of location paths and, based on the certain operator, including a plurality of operators in the second representation, where the plurality of operators include: a first set of operators that is to be performed based on each of the plurality of location paths, and a second set of operators that is to be performed based on data returned from at least one operator included in the first set of operators. The query may thereafter be executed based on the second representation. The second representation may be further rewritten to third representation depending on the physical storage of XML.

    摘要翻译: 提供了一种处理查询的方法。 生成查询的第一个表示形式,其中查询包含一个基于可扩展到多个位置路径的XPath表达式执行的某个运算符。 查询的第一表示被重写成对应于等效查询的第二表示,其中重写第一表示包括将XPath表达式扩展到多个位置路径中,并且基于特定运算符,包括多个运算符 第二表示,其中所述多个运算符包括:将基于所述多个位置路径中的每一个来执行的第一组运算符,以及将基于从至少一个运算符返回的数据来执行的第二组运算符 包含在第一组运算符中。 此后可以基于第二表示来执行查询。 取决于XML的物理存储,第二表示可以进一步重写为第三表示。