SQL Execution Plan Baselines

Approaches, techniques, and mechanisms are disclosed for maintaining a set of baseline query plans for a database command. Except in rare circumstances, a database server may only execute a command according to a baseline plan, even if the database server predicts that a different plan has a lower c...

Full description

Saved in:
Bibliographic Details
Main Authors YAGOUB KHALED, ZAIT MOHAMED, BELKNAP PETER, ZHU YALI, SU HONG, ZIAUDDIN MOHAMED, OZBUTUN CETIN, DAS DINESH
Format Patent
LanguageEnglish
Published 23.04.2009
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Approaches, techniques, and mechanisms are disclosed for maintaining a set of baseline query plans for a database command. Except in rare circumstances, a database server may only execute a command according to a baseline plan, even if the database server predicts that a different plan has a lower cost. The set of baseline plans are plans that, for one reason or another, have been determined to provide acceptable actual performance in at least one execution context. When the database server receives a request to execute a particular command, the database server, if possible, always executes the command according to the lowest predicted cost baseline plan. The database server may evolve the plan baseline to include additional plans by generating and testing new plans in response to new requests to execute the database command, or as part of a query optimization or tuning process.
Bibliography:Application Number: US20080188678