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: 50 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of managing a statement pool, the method comprising: identifying, from among a plurality of statements in a statement pool utilized by a database, a statement that requests data in a first format from a field in the database that stores the data in a second format; and modifying the identified statement in the statement pool using at least one processor to instruct the database to convert the data to the first format prior to returning the data; and tracking usage of at least a subset of the plurality of statements, wherein the modifying the identified statement is performed based upo
- Claim 2Depends on #1
The method of claim 1 , further comprising associating with the modified statement a usage statistic ge
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- 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.
- Oracle8i Designing and Tuning for Performance, 2000, pp. 1-36.
- Palmer et al., "Fido: A cache that learns to fetch,"Proceedings of the 17th International Conference on VLDB, Sep. 1991.