Techniques of optimizing queries using NULL expression analysis
    21.
    发明申请
    Techniques of optimizing queries using NULL expression analysis 有权
    使用NULL表达式分析优化查询的技术

    公开(公告)号:US20080065674A1

    公开(公告)日:2008-03-13

    申请号:US11517969

    申请日:2006-09-08

    IPC分类号: G06F17/00

    CPC分类号: G06F17/30454

    摘要: A method for optimizing queries is described. A query, which includes a first expression for determining whether each of a set of values evaluates to NULL or NOT NULL, is received. At compile-time, a first representation of the query is generated, where the first representation indicates that the query is to be performed based on the first expression. Based on the first expression, a second expression is determined. The second expression is such that the first expression would evaluate to any NOT NULL value if and only if the second expression would evaluate to any NOT NULL value. The second expression, when evaluated, is much more computationally efficient compared with the evaluation of the first expression. Based on the first representation, a second representation of the query is generated, where the second representation indicates that the query is to be performed based on the second expression. Thereafter, the query is executed based on the second representation.

    摘要翻译: 描述用于优化查询的方法。 一个查询,其中包含一个第一表达式,用于确定一组值中的每一个是否计算为NULL或NOT NULL。 在编译时,生成查询的第一个表示,其中第一个表示指示要根据第一个表达式执行查询。 基于第一个表达式,确定第二个表达式。 第二个表达式使得当且仅当第二个表达式计算为任何NOT NULL值时,第一个表达式将求值为任何NOT NULL值。 第二个表达式与评估第一个表达式相比,计算效率要高得多。 基于第一表示,生成查询的第二表示,其中第二表示指示将基于第二表达式执行查询。 此后,基于第二表示执行查询。

    Processing queries against one or more markup language sources
    23.
    发明授权
    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 for changing XML content in a relational database
    25.
    发明授权
    Techniques for changing XML content in a relational database 有权
    在关系数据库中更改XML内容的技术

    公开(公告)号:US07386567B2

    公开(公告)日:2008-06-10

    申请号:US10956300

    申请日:2004-09-30

    IPC分类号: G06F17/30

    摘要: Techniques are provided for changing data for an XML construct in an SQL/XML compliant database management system (DBMS). The DBMS allows instances of XML type to represent XML constructs, such as XML documents, XML elements, XML attributes, and fragments of XML documents. An SQL statement is received that includes an XML operator that operates on a particular component in an instance of XML type. During execution of the SQL statement, the XML operator is evaluated by modifying content for the component without modifying the entire instance. For example, an XML delete operator deletes the particular component from the instance. Other XML operators include an insert operator, an insert-before operator, an append-child operator, and an update operator. During execution, these operators may be rewritten to operate on existing SQL constructs, or evaluated by updating only some of the existing SQL constructs, or both.

    摘要翻译: 提供技术用于在符合SQL / XML的数据库管理系统(DBMS)中更改XML构造的数据。 DBMS允许XML类型的实例表示XML构造,例如XML文档,XML元素,XML属性和XML文档片段。 收到一条SQL语句,其中包含一个在XML类型的实例中对特定组件进行操作的XML运算符。 在执行SQL语句期间,通过修改组件的内容而不修改整个实例来评估XML运算符。 例如,XML删除运算符从实例中删除特定组件。 其他XML运算符包括一个插入运算符,一个insert-before运算符,一个append-child运算符和一个update运算符。 在执行期间,这些运算符可能被重写为对现有的SQL结构进行操作,或者只通过更新现有的SQL结构或两者来评估。

    Techniques for changing XML content in a relational database
    26.
    发明申请
    Techniques for changing XML content in a relational database 有权
    在关系数据库中更改XML内容的技术

    公开(公告)号:US20050044113A1

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

    申请号:US10956300

    申请日:2004-09-30

    IPC分类号: G06F17/30 G06F17/00

    摘要: Techniques are provided for changing data for an XML construct in an SQL/XML compliant database management system (DBMS). The DBMS allows instances of XML type to represent XML constructs, such as XML documents, XML elements, XML attributes, and fragments of XML documents. An SQL statement is received that includes an XML operator that operates on a particular component in an instance of XML type. During execution of the SQL statement, the XML operator is evaluated by modifying content for the component without modifying the entire instance. For example, an XML delete operator deletes the particular component from the instance. Other XML operators include an insert operator, an insert-before operator, an append-child operator, and an update operator. During execution, these operators may be rewritten to operate on existing SQL constructs, or evaluated by updating only some of the existing SQL constructs, or both.

    摘要翻译: 提供技术用于在符合SQL / XML的数据库管理系统(DBMS)中更改XML构造的数据。 DBMS允许XML类型的实例表示XML构造,例如XML文档,XML元素,XML属性和XML文档片段。 收到一条SQL语句,其中包含一个在XML类型的实例中对特定组件进行操作的XML运算符。 在执行SQL语句期间,通过修改组件的内容而不修改整个实例来评估XML运算符。 例如,XML删除运算符从实例中删除特定组件。 其他XML运算符包括一个插入运算符,一个insert-before运算符,一个append-child运算符和一个update运算符。 在执行期间,这些运算符可能被重写为对现有的SQL结构进行操作,或者只通过更新现有的SQL结构或两者来评估。

    Techniques for changing XML content in a relational database
    27.
    发明授权
    Techniques for changing XML content in a relational database 有权
    在关系数据库中更改XML内容的技术

    公开(公告)号:US06836778B2

    公开(公告)日:2004-12-28

    申请号:US10428445

    申请日:2003-05-01

    IPC分类号: G06F1730

    摘要: Techniques are provided for changing data for an XML construct in an SQL/XML compliant database management system (DBMS). The DBMS allows instances of XML type to represent XML constructs, such as XML documents, XML elements, XML attributes, and fragments of XML documents. An SQL statement is received that includes an XML operator that operates on a particular component in an instance of XML type. During execution of the SQL statement, the XML operator is evaluated by modifying content for the component without modifying the entire instance. For example, an XML delete operator deletes the particular component from the instance. Other XML operators include an insert operator, an insert-before operator, an append-child operator, and an update operator. During execution, these operators may be rewritten to operate on existing SQL constructs, or evaluated by updating only some of the existing SQL constructs, or both.

    摘要翻译: 提供技术用于在符合SQL / XML的数据库管理系统(DBMS)中更改XML构造的数据。 DBMS允许XML类型的实例表示XML构造,例如XML文档,XML元素,XML属性和XML文档片段。 收到一条SQL语句,其中包含一个在XML类型的实例中对特定组件进行操作的XML运算符。 在执行SQL语句期间,通过修改组件的内容而不修改整个实例来评估XML运算符。 例如,XML删除运算符从实例中删除特定组件。 其他XML运算符包括一个插入运算符,一个insert-before运算符,一个append-child运算符和一个update运算符。 在执行期间,这些运算符可能被重写为对现有的SQL结构进行操作,或者只通过更新现有的SQL结构或两者来评估。

    Techniques for transferring a serialized image of XML data
    28.
    发明授权
    Techniques for transferring a serialized image of XML data 有权
    传输XML数据的序列化图像的技术

    公开(公告)号:US07051042B2

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

    申请号:US10428393

    申请日:2003-05-01

    IPC分类号: G06F17/30

    CPC分类号: G06F17/3092 Y10S707/99943

    摘要: Techniques for transferring a serialized image of data for an XML construct includes selecting a first format from multiple different XML serialization formats that represent, in a database system, data for XML constructs as a series of data units, such as a series of bytes representing characters, or a series of bits, bytes or octets representing binary values. A message is generated that includes a payload and a payload type field. The payload includes particular serialized data that represents particular data for a particular XML construct in the first format. The type field includes data that indicates the first format. The message is sent from a sending component of the database system to a different receiving component of the database system. These techniques allow the format selection to be based on characteristics of the sending or receiving components to make better use of the resources available to the two components.

    摘要翻译: 用于传送用于XML构造的数据的序列化图像的技术包括从多个不同的XML序列化格式中选择第一格式,所述XML序列化格式在数据库系统中表示作为一系列数据单元的XML结构的数据,诸如表示字符 或一系列表示二进制值的位,字节或八位位组。 生成包含有效载荷和有效载荷类型字段的消息。 有效载荷包括表示第一格式的特定XML构造的特定数据的特定序列化数据。 类型字段包括指示第一格式的数据。 消息从数据库系统的发送组件发送到数据库系统的其他接收组件。 这些技术允许格式选择基于发送或接收组件的特性,以更好地利用两个组件可用的资源。

    Techniques for providing XQuery access using web services
    30.
    发明授权
    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)。