Autonomic lock escalation in an SQL environment
Abstract
Embodiments of the invention provide a method, article of manufacture, and an apparatus used to optimize the execution of a database query. One embodiment includes a computer-implemented method that includes the steps of receiving a query of a database, prior to executing the query, analyzing the query to select a locking strategy to use in executing the query, and executing the query using the selected locking strategy. Depending on the content of a particular query, or the status of a database, a query optimizer may determine whether to escalate from a row level locking strategy to a page level locking strategy when executing the data query.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of optimizing database query execution; comprising: receiving a query configured to be executed against a database containing data, wherein the query has been previously executed against the database, and wherein statistics reflecting a number of records required to execute the query were recorded during a prior execution of the query; prior to executing the query, analyzing the query to select a locking strategy to use in executing the query, the locking strategy being selected from at least two different locking strategies, wherein the locking strategy specifies
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗