Invention Grant
- Patent Title: Obtaining a plan for executing a query in a relational database
- Patent Title (中): 获取在关系数据库中执行查询的计划
-
Application No.: US12114913Application Date: 2008-05-05
-
Publication No.: US07937385B2Publication Date: 2011-05-03
- Inventor: Robert J. Bestgen , Wei Hu , Shantan Kethireddy , Andrew P. Passe , Ulrich Thiemann
- Applicant: Robert J. Bestgen , Wei Hu , Shantan Kethireddy , Andrew P. 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: Cantor Colburn LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A plan for executing a query in a relational database is obtained. A query for accessing data in the relational database is received. The query specifies N tables in the relational database from which data is to be retrieved. A determination is made whether a syntax of the query matches a syntax of a plan in a plan cache for executing the query. Matches are identified between generic table formats of the N tables specified in the query to generic table formats of N tables specified in the plan responsive to the syntax of the query matching the syntax of a plan in the plan cache for executing the query. The plan for executing the query is obtained based on whether the syntax of the query matches the syntax of the plan and based on identified matches between the generic table formats of the N tables specified in the query to the generic table formats of the N tables specified in the plan.
Public/Granted literature
- US20090276394A1 OBTAINING A PLAN FOR EXECUTING A QUERY IN A RELATIONAL DATABASE Public/Granted day:2009-11-05
Information query