Method of Converting Query Plans to Native Code
AssigneeMicrosoft Technology Licensing, LLC
InventorsCraig Steven Freedman, Erik Ismert
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsCraig Steven Freedman, Erik Ismert
Estimating the term…
Performing database queries. A method includes receiving a particular database query. The method further includes accessing a query plan based on the particular database query. The query plan has operators and specific operational parameters associated with each of the operators. The association of operators and specific operational parameters is specific to the particular database query. From the query plan, the method further includes instantiating a plurality of compiled code templates. Each code template includes executable code that when executed performs functionality of one of the operators from the query plan with the specific operational parameters applied in the compilation. The method further includes binding the code templates together using programmatic control flow to create a functioning program.
A computer-implemented method for translating database queries into native machine code so that use of an interpreter which employs statically written code to process a given query can be eliminated, to improve efficiency of processing the given query, the computer-implemented method being performed by one or more processors executing computer-executable instructions for the computer-implemented method, and the computer-implemented method comprising:
A computing system for translating database queries into native machine code so that use of an interpreter which employs statically written code to process a given query can be eliminated, to improve efficiency of processing the given query, the system comprising:
A physical storage computer medium comprising computer executable instructions that when executed by one or more processors causes execution of a computer-implemented method for translating database queries into native machine code so that use of an interpreter which employs statically written code to process a given query can be eliminated, to improve efficiency of processing the given query, and wherein the computer-executable method is performed by:
The physical storage computer medium of claim 16, wherein the programmatic control flow comprises labels and goto statements.
The physical storage computer medium of claim 17, wherein the labels and goto statements of the programmatic flow control do not require passing control back through any intermediate operators.
Dependencies are inferred from the claim text.