首页> 外国专利> Techniques of using a relational caching framework for efficiently handling XML queries in the mid-tier data caching

Techniques of using a relational caching framework for efficiently handling XML queries in the mid-tier data caching

机译:在中间层数据缓存中使用关系缓存​​框架有效处理XML查询的技术

摘要

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数据类型作为本机数据类型来支持。如果确定查询包括这种运算符,则从数据库服务器检索一个或多个关系表的一个或多个部分,并将其存储在中间层缓存中。一个或多个关系表在一个或多个部分中存储与XML数据类型的请求数据关联的索引信息。针对存储在中间层高速缓存中的一个或多个关系表的至少一个或多个部分,将接收到的查询重写为一个关系查询。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号