Parallel database query processing for non-uniform data sources via buffered access
Abstract
An apparatus, program product and method utilize a dynamically-populated query buffer to facilitate the handling of at least a portion of a database query in parallel. A query is implemented using at least first and second portions, where the second portion of the query is executed in parallel using a plurality of threads. The first portion of the query is executed to dynamically populate a query buffer with records from a data source, and the plurality of threads that execute the second portion of the query are specified to the query buffer so that the effective data source for the second portion of the query comprises the records that are dynamically populated into the query buffer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 56.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of executing a database query, the method comprising: (a) executing a first portion of a query to dynamically populate a query buffer with records from a data source; and (b) executing a second portion of the query in parallel using a plurality of threads specified to the query buffer; wherein the query buffer includes a plurality of entries, wherein executing the first portion of the query includes storing a record in an entry in the query buffer, and wherein executing the second portion of the database query includes, in each thread, retrieving an entry from the query buffer and exe
- Claim 2Depends on #1
The method of claim 1 , wherein executing the first portion of the query dynamically populates the query buffer with records from the data source that match a first query criterion, and where
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 56 total)
References Cited — Backward Prior Art (8)
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., "Object-Oriented Query Execution Data Structure" (ROC920020104US1).
- 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).