Invention Grant
- Patent Title: SQL code generation for heterogeneous environment
- Patent Title (中): 用于异构环境的SQL代码生成
-
Application No.: US12287152Application Date: 2008-10-06
-
Publication No.: US08171018B2Publication Date: 2012-05-01
- Inventor: Barry M. Zane , James P. Ballard , Foster D. Hinshaw , Premanand Yerabothu
- Applicant: Barry M. Zane , James P. Ballard , Foster D. Hinshaw , Premanand Yerabothu
- Applicant Address: NL Amsterdam
- Assignee: IBM International Group B.V.
- Current Assignee: IBM International Group B.V.
- Current Assignee Address: NL Amsterdam
- Agency: Hamilton, Brook, Smith & Reynolds, P.C.
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
This invention relates generally to a system for processing database queries, and more particularly to a method for generating high level language or machine code to implement query execution plans. In one preferred embodiment, the method begins by receiving a subject query, and then forming an execution plan corresponding to the subject query. The execution plan will typically have a sequence of component snippets or pieces and corresponding processes for implementing the pieces. For at least one piece in the plan, the process then (a) generates source code using different code generation techniques as a function of expected runtime processing machine types; and then (b) compiles the generated source code to form machine executable code for implementing the subject query. As a result, the query executed directly as machine executable code thereby avoiding runtime interpretation of the pieces in the execution plan.
Public/Granted literature
- US20090083219A1 SQL code generation for heterogeneous environment Public/Granted day:2009-03-26
Information query