Optimization of queries using retrieval status of resources used thereby
Abstract
An apparatus, program product and method utilize the retrieval status of a resource to generate an access plan for a database query that uses the resource. The retrieval status, which indicates, for example, what percentage of a given resource is already stored in working memory, and thus need not be separately retrieved during query execution, may be used to generate more accurate input/output cost estimates for access plans, and thus enable a query optimizer to better select an access plan that is optimal under given runtime conditions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 24.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of optimizing a database query, the method comprising: determining a retrieval status for a resource used by the database query, wherein determining the retrieval status includes determining a percentage of the resource that is resident in a working memory; generating an access plan for the database query using the determined retrieval status for the resource, wherein generating the access plan includes: generating a plurality of alternate access plans: calculating a cost for each alternate access plan using the determined retrieval status for the resource; and selecting one of the al
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗