Method and apparatus for parallel execution of SQL from stored procedures
AssigneeNCR Corporation
InventorsNavin Kabra, Jignesh M. Patel, Jie-Bing Yu, Biswadeep Nag, Jian-Jun Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeNCR Corporation
InventorsNavin Kabra, Jignesh M. Patel, Jie-Bing Yu, Biswadeep Nag, Jian-Jun Chen
Estimating the term…
A method, apparatus, and an article of manufacture for parallel execution of SQL operations from stored procedures. One or more embodiments of the invention provide the stored procedure (stored procedure) 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 stored procedure. To provide the single stream to the calling stored procedure, one or more embodiments of the invention utilize a class that provides the stored procedure with a simple and easy-to-use interface to access the results of the nested SQL execution.
A method of parallel execution of SQL in a stored procedure comprising:
A system for parallel execution of SQL in a stored procedure comprising:
An article of manufacture for parallel execution of SQL in a stored procedure comprising:
Dependencies are inferred from the claim text.