Dynamic optimization of prepared statements in a statement pool
Abstract
An apparatus, program product and method dynamically optimize prepared statements resident in a statement pool to permit subsequent reuses of such statements to utilize the optimized representations of such statements. The optimization of pooled statements may be performed responsive to the tracked usage of the statements in a statement pool, to direct the overhead associated with such optimization to those statements that are more likely to be utilized in the future. Among a multitude of possible optimizations, a pooled statement that requests data in a format other than that utilized by the database being accessed may be modified to request the data in the format used by the database, thereby decreasing the overhead in the database associated with format conversions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of managing a statement pool, the method comprising: accessing an unoptimized representation of a statement among a plurality of statements in a statement pool utilized by a database, wherein the unoptimized representation of the statement is a prepared statement; with at least one hardware-implemented processor, generating an optimized representation of the statement from the unoptimized representation of the statement, wherein the optimized representation of the statement is a prepared statement; replacing the unoptimized representation of the statement with the optimized representa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (48)
Non-Patent Literature (4)
- Bernstein et al., "Context-Based Prefetch for Implementing Objects on Relations," Proceedings of the 25th VLDB Conference Edinburgh, Scotland, 1999.
- J. Heidebrecht, "developerWorks : Java(TM) Technology : What's new in JDBC 3.0", http://www-106.ibm.com/developerworks/library/j-jdbcnew/index.html, Jul. 25, 2001.
- J. Heidebrecht, "developerWorks : Java™ Technology : What's new in JDBC 3.0", http://www-106.ibm.com/developerworks/library/j-jdbcnew/index.html, Jul. 25, 2001.
- Palmer et al., "Fido: A cache that learns to fetch," Proceedings of the 17th International Conference on VLDB, Sep. 1991.