Invention Grant
US09213740B2 System and methodology for automatic tuning of database query optimizer
有权
自动调整数据库查询优化器的系统和方法
- Patent Title: System and methodology for automatic tuning of database query optimizer
- Patent Title (中): 自动调整数据库查询优化器的系统和方法
-
Application No.: US11871022Application Date: 2007-10-11
-
Publication No.: US09213740B2Publication Date: 2015-12-15
- Inventor: Mihnea Andrei , Xun Cheng , Edwin Anthony Seputis , Xiao Ming Zhou
- Applicant: Mihnea Andrei , Xun Cheng , Edwin Anthony Seputis , Xiao Ming Zhou
- Applicant Address: US CA Dublin
- Assignee: Sybase, Inc.
- Current Assignee: Sybase, Inc.
- Current Assignee Address: US CA Dublin
- Agency: Sterne, Kessler, Goldstein & Fox P.L.L.C.
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
System and methodology for automatic tuning of database query optimizer is described. In one embodiment, in a database system having an optimizer for selecting a query plan for executing a database query, a method of the present invention is described for automatically tuning query performance to prevent query performance regression that may occur during upgrade of the database system from a prior version to a new version, the method comprises steps of: in response to receiving a given database query for execution, specifying a query plan generated by the prior version's optimizer as a baseline best plan for executing the given database query; generating at least one new query plan using the new version's optimizer; learning performance for each new query plan generated by recording corresponding query execution metrics; if a given new query plan is observed to have better performance than the best plan previously specified, specifying that given new query plan to be the best plan for executing the given database query; if a given new query plan is observed to have worse performance than the best plan previously specified, specifying that given new query plan to be a bad plan to be avoided in the future; and automatically tuning future execution of the given database query by using the query plan that the system learned was the best plan.
Public/Granted literature
- US20090100004A1 System And Methodology For Automatic Tuning Of Database Query Optimizer Public/Granted day:2009-04-16
Information query