Testing efficiency and stability of a database query engine
Abstract
Systems, methods and computer program products for testing the stability and efficiency of a database query engine are described herein. In an embodiment, all possible query execution plans considered by a query optimizer are retained in the form of abstract plans (APs). Each AP is then subsequently supplied with a query to test for stack traces and incorrect results that may occur during the execution of the query. An embodiment includes determining an optimizer efficiency index (OEI) by comparing each AP with a query execution plan chosen by the query optimizer and classifying the APs into various performance buckets based on the degree of improvement or degradation in performance with respect to the query execution plan chosen by the query optimizer. In another embodiment to determine the optimizer efficiency index, APs are ranked based on estimated cost and classified into a plurality of categories based on query optimizer estimates and actual execution behavior.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a database management system (DBMS), comprising: receiving a query; generating a plurality of query execution plans for the query, wherein estimated costs corresponding to each of the plurality of execution plans are determined by a query optimizer prior to (i) an execution of the query using the plurality of query execution plans and (ii) a selection of a query execution plan by the query optimizer; executing the query using each of the plurality of query execution plans; determining performance of each of the query execution plans based on the execution of the query using the que
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (1)
- International Search Report and Written Opinion, dated Oct. 26, 2010, for PCT Appl. No. PCT/US2010/028666, 8 pages.