Invention Grant
US08126873B2 Portable and iterative re-usable suboptimization of database queries
失效
数据库查询的便携式和迭代可重用的次优选项
- Patent Title: Portable and iterative re-usable suboptimization of database queries
- Patent Title (中): 数据库查询的便携式和迭代可重用的次优选项
-
Application No.: US11735095Application Date: 2007-04-13
-
Publication No.: US08126873B2Publication Date: 2012-02-28
- Inventor: Robert Victor Downer , Wei Hu , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
- Applicant: Robert Victor Downer , Wei Hu , Shantan Kethireddy , Andrew Peter Passe , Ulrich Thiemann
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Wood, Herron & Evans LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A method, apparatus and program product to optimize a database query. A query plan is generated for the database query where the query plan includes first and second subplans. Cached optimization data associated with the first subplan and generated during evaluation of another query plan for a previous query that uses the first subplan is retrieved. The first subplan is evaluated for resource cost using the retrieved optimization data. The second subplan is also evaluated for resource cost. The query plan is then evaluated for resource cost based upon the evaluations of resource cost for the first and second subplans. A query plan is selected based on evaluations of resource cost and the plan is executed to generate a result set.
Public/Granted literature
- US20080256024A1 Portable and Iterative Re-Usable Suboptimization of Database Queries Public/Granted day:2008-10-16
Information query