Object-oriented query execution data structure
Abstract
An apparatus, program product and method represent a database query access plan a query execution data structure including a plurality of query node objects arranged into a tree relationship to define a parent node object and at least one child node object, and an attribute data structure that references a plurality of attributes utilized by the query execution data structure. At least one of the parent and child node objects includes an attribute operation data structure configured to manipulate at least a subset of the plurality of attributes in the attribute data structure by accessing the attribute operation data structure. By partitioning the functionality of a query access plan into a collection of node objects and an attribute data structure, and then providing within at least a subset of the node objects attribute operation data structures that manipulate the attribute data structure, the resulting query engine architecture becomes significantly extendible and adaptable. Moreover, through appropriate selection of attribute operations, and coding of such operations using directly executable program code, optimal query engine performance may also be obtained.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing a query, comprising: (a) accessing, from a query execution data structure representative of a database query access plan for the query, at least one of a parent node object and a child node object from among a plurality of query node objects arranged into a tree relationship; and (b) manipulating at least a subset of a plurality of attributes referenced in an attribute data structure defined in the query execution data structure by processing at least one operation defined in an attribute operation data structure defined in the accessed node object, wherein processing the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (4)
- G. Mitchell, "Extensible Query Processing in an Object-Oriented Database," May 1993, Thesis, Department of Computer Science, Brown University, pp. 1-166.
- IBM Patent Application filed on even date herewith by Carlson et al., "Method for Efficient Processing of Multi-State Attributes" (ROC920010305US1).
- IBM Patent Application filed on even date herewith by Carlson et al., "Parallel Database Query Processing for Non-Uniform Data Sources via Buffered Access" (ROC920010234US1).
- IBM Patent Application filed on even date herewith by Carlson et al., "Runtime Query Optimization for Dynamically Selecting from Multiple Plans in a Query Based Upon Runtime-Evaluated Performance Criterion" (ROC920010235US1).