Identifying high risk database statements in changing database environments
Abstract
High-risk database statements are identified. A DBMS performs a series of experiments by generating sets of statistics describing data over which particular database statements run. The DBMS submits each of these sets of statistics to a query optimizer, which returns information for an execution plan that the optimizer would use to implement the statements given the submitted set of data statistics. If the DBMS determines that the optimizer changes the established execution plan for the database statements for any of the submitted sets of statistics, the DBMS performs one or more actions to mitigate the risk of changing execution plans, such as automatically tuning the database statements or the entire workload, and/or sending information about the database statements to a database administrator. Techniques are also described for calculating diagnostic values based on the results of such experiments, which quantify the sensitivity of the execution plans to changes in data statistics.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-executed method comprising: based, at least in part, on a first set of statistics comprising a first hypothetical value for a particular attribute of particular data in a database, said particular attribute specifying how much data is hypothetically stored in one or more particular tables or indexes in the database, identifying a first execution plan that a database management system generates for particular database statements that run over the particular data; after identifying the first execution plan, and based, at least in part, on a second set of statistics comprising a second
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗