Invention Grant
US06594651B2 Method and apparatus for parallel execution of SQL-from within user defined functions
有权
用于从用户定义的函数中并行执行SQL的方法和装置
- Patent Title: Method and apparatus for parallel execution of SQL-from within user defined functions
- Patent Title (中): 用于从用户定义的函数中并行执行SQL的方法和装置
-
Application No.: US09470215Application Date: 1999-12-22
-
Publication No.: US06594651B2Publication Date: 2003-07-15
- Inventor: Navin Kabra , Jignesh M. Patel , Jie-Bing Yu , Biswadeep Nag , Jian-Jun Chen
- Applicant: Navin Kabra , Jignesh M. Patel , Jie-Bing Yu , Biswadeep Nag , Jian-Jun Chen
- Main IPC: G06F1730
- IPC: G06F1730

Abstract:
A method, apparatus, and an article of manufacture for parallel execution of SQL operations from within user defined functions. One or more embodiments of the invention provide the user defined function (UDF) with a C++ class (hereinafter referred to as “dispatcher”) that can take an SQL query and start parallel execution of the query. The query is optimized and parallelized. The dispatcher executes the query, sets up the communication links between the various operators in the query, and ensures that all the results are sent back to the data-server that originated the query request. Further, the dispatcher merges the results of the parallel execution and produces a single stream of tuples that is fed to the calling UDF. To provide the single stream to the calling UDF, one or more embodiments of the invention utilize a class that provides the UDF with a simple and easy-to-use interface to access the results of the nested SQL execution.
Public/Granted literature
- US20030037048A1 METHOD AND APPARATUS FOR PARALLEL EXECUTION OF SQL-FROM WITHIN USER DEFINED FUNCTIONS Public/Granted day:2003-02-20
Information query