Query plan optimization for prepared SQL statements
Abstract
System, methods and articles of manufacture for optimizing a query plan reuse in a database server system accessible by a plurality of client connections. An embodiment comprises providing at least one global cache storage and a private cache storage to a plurality of client connections, and coordinating utilization of the at least one global cache storage and the private cache storage to share light weight stored procedures and query plans for prepared SQL statements across the plurality of client connections via the at least one global cache storage while avoiding a spinlock access for executing the prepared SQL statements.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing a query plan reuse in a database server system, comprising: providing at least one global cache storage that stores a single instance of the query plan for the prepared SQL statement and a private cache storage to a plurality of client connections, wherein the single instance of the query plan in the at least one global cache is shared by each client connection providing instructions to execute the prepared SQL statement and the private cache storage includes information that determines whether the single instance of the query plan exists in the at least one global cach
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗