Executing stored procedures at parallel databases
AssigneeMicrosoft Corporation
InventorsNikhil Teletia, Alan Dale Halverson, Artem D. Yegorov
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsNikhil Teletia, Alan Dale Halverson, Artem D. Yegorov
Estimating the term…
The present invention extends to methods, systems, and computer program products for executed stored procedures at parallel databases. Stored procedures are transformed so that execution of the stored procedure is split between a standalone database server and a parallel database coordinator. Execution of the stored procedure is initiated at the standalone database server. At execution time, control-flow statements, variable assignment, expression evaluation, etc., are handled by the standalone database server. SQL statements are passed from the standalone database server to the database for the execution. Results from executed SQL statements can be returned to the standalone database server or to a client. The parallel database coordinator can be added as a linked server to the standalone database server. In some embodiments, a session token is used to share session state between different parties.
At a computer system, the computer system including a parallel database coordinator, the parallel database coordinator configured to issue SQL statements against a parallel database, the parallel database including a plurality of database partitions spread across a plurality of compute nodes, the parallel database coordinator connected to an instance of standalone database server, a method for executing a stored procedure, the method comprising:
A computer program product for use at a computer system, the computer system including a parallel database coordinator, the parallel database coordinator configured to issue SQL statements against a parallel database, the parallel database including a plurality of database partitions spread across a plurality of compute nodes, the parallel database coordinator connected to an instance of standalone database server, the computer program product for implementing a method for executing a stored procedure, the computer-program product comprising one or more computer storage devices having stored thereon computer-executable instructions that, when executed at a processor, cause the computer system to perform the method, including the following:
A system, the system including parallel database coordinator and a standalone database server,
Dependencies are inferred from the claim text.