Patents
US 6,594,651 B2#656808 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for parallel execution of SQL-from within user defined functions

60Forward Citations (#656808 Global)
2.6/yrCitation Velocity (#1198567 Global)
13.62Citation PageRank (#635296 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 60.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of parallel execution of SQL in a user defined function comprising executing a user defined function (UDF) on a first data sewer; determining when a nested SQL command is encountered in the UDP; transmitting at least a portion of the nested SQL command from the first data server to a query coordinator; the query coordinator generating an execution plan that provides for parallel execution of the portion of the nested SQL command; transmitting at least a portion of the execution plan from the query coordinator to a plurality of dispatcher instances on a plurality of data servers; the p

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗