发明申请
US20100293199A1 Efficient Way To Evaluate Uncorrelated Path-Based Row Sources With XML Storage
有权
使用XML存储评估不相关的基于路径的行源的有效方法
- 专利标题: Efficient Way To Evaluate Uncorrelated Path-Based Row Sources With XML Storage
- 专利标题(中): 使用XML存储评估不相关的基于路径的行源的有效方法
-
申请号: US12467984申请日: 2009-05-18
-
公开(公告)号: US20100293199A1公开(公告)日: 2010-11-18
- 发明人: Balasubramanyam Sthanikam , Sam Idicula , Nipun Agarwal
- 申请人: Balasubramanyam Sthanikam , Sam Idicula , Nipun Agarwal
- 主分类号: G06F17/00
- IPC分类号: G06F17/00
摘要:
The approaches described herein provide an efficient way to process certain kinds of queries that retrieve XML data stored in an object-relational database. A technique determines whether a query comprises a plurality of iteration expressions that exhibit a particular relationship to one another, and if so, re-writes the query and produces an optimized query execution plan. The query execution plan specifies an XPath-based row source with caching enabled. A very small cache structure is used, and reference locators are stored in the cache that point into binary-encoded data rather than copying XMLType data into the cache. Row data may be cached on the first use of the path-based row source and re-used in subsequent requests for rows. Once there is a subsequent request for rows from the optimized path-based row source, the cache may be reorganized to efficiently produce the rows of the row source.
公开/授权文献
信息查询