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

    公开(公告)号:US20060031204A1

    公开(公告)日:2006-02-09

    申请号: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) 要在第二数据源上执行的一个或多个操作的第二组。 然后,确定管理标记语言数据源的第一服务器能够执行第一组操作。 发送请求到第一台服务器执行第一组操作。 收到响应,其中响应包含对标记语言数据源执行第一组操作的结果。 最后,至少部分地基于执行第一组操作的结果为查询生成结果。

    Using XML as a common parser architecture to separate parser from compiler
    2.
    发明申请
    Using XML as a common parser architecture to separate parser from compiler 审中-公开
    将XML作为常见的解析器架构,将解析器与编译器分离

    公开(公告)号:US20060235839A1

    公开(公告)日:2006-10-19

    申请号:US11204649

    申请日:2005-08-15

    IPC分类号: G06F17/30

    CPC分类号: G06F16/8358

    摘要: A method and apparatus for compiling queries is provided. A first query in a first syntax of a query language is received. Based on the first query, a second query in a second syntax of the query language is generated. The first syntax and the second syntax are each among a plurality of syntaxes that are defined for the query language. The second query is parsed to generate parsed information. Based on the parsed information, the second query is compiled by a compiler that does not support compiling of queries in the first syntax.

    摘要翻译: 提供了一种用于编译查询的方法和装置。 接收到具有查询语言的第一语法的第一个查询。 基于第一个查询,生成查询语言的第二个语法的第二个查询。 第一语法和第二语法各自是针对查询语言定义的多个语法。 解析第二个查询以生成解析信息。 基于解析的信息,第二个查询由编译器编译,不支持在第一个语法中编译查询。

    Optimization of queries on a repository based on constraints on how the data is stored in the repository
    4.
    发明申请
    Optimization of queries on a repository based on constraints on how the data is stored in the repository 有权
    基于对数据如何存储在存储库中的约束来优化存储库中的查询

    公开(公告)号:US20070011167A1

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

    申请号:US11243345

    申请日:2005-10-03

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/30471 G06F17/301

    摘要: Constraints that restrict how corresponding identifiable groups of files are stored in a database, are enforced on corresponding file data. In response to a query on any data from an identifiable group of files, the effect of the constraint on how the corresponding data is stored is determined. The original query is rewritten, based on the effect of the constraint, so that the rewritten query is directed to a particular subset of the data stored in the database. Consequently, the search space is restricted to an identifiable subset of the database and execution of the rewritten query is more efficient than execution of the original query.

    摘要翻译: 在相应的文件数据上强制限制如何将对应的可识别文件组存储在数据库中。 响应于来自可识别文件组的任何数据的查询,确定约束对如何存储相应数据的影响。 基于约束的影响,原始查询被重写,使得重写的查询被定向到存储在数据库中的数据的特定子集。 因此,搜索空间限于数据库的可识别子集,并且重写的查询的执行比执行原始查询更有效。

    Providing XML node identity based operations in a value based SQL system
    5.
    发明申请
    Providing XML node identity based operations in a value based SQL system 审中-公开
    在基于值的SQL系统中提供基于XML节点身份的操作

    公开(公告)号:US20050289175A1

    公开(公告)日:2005-12-29

    申请号:US11100083

    申请日:2005-04-05

    IPC分类号: G06F17/00 G06F17/30

    CPC分类号: G06F16/86 G06F16/8373

    摘要: Object-relational database systems process XML values in a way that preserves node identities of nodes in the XML values and perform node-id based operations more efficiently or even in circumstances where such operations were not performed. An object-relational database system represents an XML value as a serialized stream of bytes, herein referred to as a serialized image. A serialized image may represent an XML value of the XMLType that is stored and/or generated by an object-relational database system. The serialized image contains one or more node identifiers that identify nodes within the XML value. The serialized image may also contain a pointer to an in-memory representation of the XML value, allowing the in-memory representation to be accessed via the pointer without having re-create the in-memory representation.

    摘要翻译: 对象关系数据库系统以保持XML值中节点的身份标识并更有效地执行基于节点ID的操作的方式处理XML值,甚至在不执行此类操作的情况下处理XML值。 对象关系数据库系统将XML值表示为串行字节流,这里称为序列化图像。 序列化图像可以表示由对象关系数据库系统存储和/或生成的XMLType的XML值。 序列化图像包含一个或多个标识XML值中的节点的节点标识符。 序列化图像还可以包含指向XML值的内存中表示的指针,允许通过指针访问内存中的表示,而不重新创建内存中的表示。

    Techniques for efficient integration of text searching with queries over XML data
    7.
    发明申请
    Techniques for efficient integration of text searching with queries over XML data 有权
    通过XML数据高效集成文本搜索与查询的技术

    公开(公告)号:US20060224627A1

    公开(公告)日:2006-10-05

    申请号:US11099918

    申请日:2005-04-05

    IPC分类号: G06F17/00

    摘要: A method and apparatus for rewriting a database command containing an embedded XML expression such that the rewritten database command recites a text function, in lieu of the embedded XML expression, is provided. Advantageously, a DBMS may take advantage of the efficiencies in storing XML data within the database, while avoiding the generation of unnecessary XML elements in processing the query when the XML elements contribute nothing to the outcome of the query. Cost-base or rule-based analysis may be performed to determine how to rewrite a received database command. The database server may functionally evaluate the text function or may use an index defined on a column of the database. The text function may function as a primary filter or may reference a column upon which an index is defined, wherein the index operates at the same or higher level than a column being referenced in the embedded XML expression.

    摘要翻译: 提供一种用于重写包含嵌入式XML表达式的数据库命令的方法和装置,使得重写的数据库命令背景文本功能代替嵌入的XML表达。 有利地,DBMS可以利用在数据库中存储XML数据的效率,同时避免在XML元素对查询的结果没有贡献时在处理查询时生成不必要的XML元素。 可以执行基于成本或基于规则的分析来确定如何重写接收到的数据库命令。 数据库服务器可以在功能上评估文本功能,或者可以使用在数据库的列上定义的索引。 文本函数可以用作主过滤器,或者可以引用定义索引的列,其中索引在与嵌入式XML表达式中引用的列相同或更高的级别上操作。

    Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions
    8.
    发明申请
    Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions 有权
    基于输入XML文档结构描述优化XSLT,并将XSLT转换为等价的XQuery表达式

    公开(公告)号:US20060242563A1

    公开(公告)日:2006-10-26

    申请号:US11261684

    申请日:2005-10-28

    IPC分类号: G06F17/00 G06F17/30

    CPC分类号: G06F17/227 G06F17/2247

    摘要: Transformation of a set of XML documents via an XSLT stylesheet is made more efficient by rewriting the stylesheet at compile-time, based on the structural description of the set of XML documents, into an optimized stylesheet containing fewer dynamic template-matching calls than the original stylesheet. This rewritten stylesheet can be further rewritten into a set of XQuery expressions. At compile-time, the particular transformation templates that are appropriate for transforming the particular nodes contained in the set of XML documents are determined, and XSLT calls to the templates are converted to calls to corresponding XQuery user-defined functions. Determination of the appropriate transformation templates may be based on the structural description of the input set of XML documents, such as an XML Schema or Document Type Definition. The data from each template is translated into corresponding XQuery constructors, instructions from the template are translated into XQuery expressions, and the XQuery functions are inlined if possible.

    摘要翻译: 通过XSLT样式表转换一组XML文档通过将编译时的样式表(基于XML文档集的结构描述)重写为优化样式表,使其具有比原始文本更少的动态模板匹配调用 样式表。 这个重写的样式表可以进一步重写成一组XQuery表达式。 在编译时,确定适合于转换XML文档集中的特定节点的特定转换模板,并将XSLT对模板的调用转换为对相应XQuery用户定义函数的调用。 确定适当的转换模板可以基于XML文档的输入集合的结构描述,例如XML模式或文档类型定义。 来自每个模板的数据被转换为相应的XQuery构造函数,模板中的指令将被转换为XQuery表达式,如果可能的话XQuery函数是内联的。

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

    公开(公告)号:US20060036935A1

    公开(公告)日:2006-02-16

    申请号:US11246429

    申请日:2005-10-06

    IPC分类号: G06F17/21

    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数据类型的一个或多个实例。