Automatic recognition and capture of SQL execution plans
Abstract
Approaches, techniques, and mechanisms are disclosed for capturing and utilizing information related to query plans exhibiting interesting characteristics. A database server receives a request to execute a command. The database server executes the command according to a query plan. In response to determining that the command matches one or more pre-defined criteria, the database server captures information related to the execution of the first command. The criteria may include, for example, whether or not the command is repeatable, the existence of bind variables, access of a particular object, high resource utilization, receipt from a particular user, client, or application, etc. The information recorded may include, for example, performance statistics collected during execution of the first plan, data indicating the execution context during execution of the first plan, and properties of the first plan. The recorded information may subsequently be utilized by the database server in executing other database other database commands.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for executing database commands, the method comprising: receiving a plurality of requests from a plurality of database clients, the plurality of requests requesting execution of a plurality of database commands; executing the plurality of database commands according to plans identified for the plurality of database commands; while executing the plurality of database commands according to the plans, collecting first information, wherein the first information is related to execution of the plurality of database commands according to the plans; for each database command in the plurality
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗