Invention Grant
US08239373B2 Efficient way to evaluate uncorrelated path-based row sources with XML storage
有权
用XML存储来评估不相关的基于路径的行源的有效方式
- Patent Title: Efficient way to evaluate uncorrelated path-based row sources with XML storage
- Patent Title (中): 用XML存储来评估不相关的基于路径的行源的有效方式
-
Application No.: US12467984Application Date: 2009-05-18
-
Publication No.: US08239373B2Publication Date: 2012-08-07
- Inventor: Balasubramanyam Sthanikam , Sam Idicula , Nipun Agarwal
- Applicant: Balasubramanyam Sthanikam , Sam Idicula , Nipun Agarwal
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong Becker Bingham Wong LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
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.
Public/Granted literature
- US20100293199A1 Efficient Way To Evaluate Uncorrelated Path-Based Row Sources With XML Storage Public/Granted day:2010-11-18
Information query