METHOD OF CONVERTING QUERY PLANS TO NATIVE CODE
First Claim
1. A method of performing database queries, the method comprising:
- receiving a particular database query;
accessing a query plan based on the particular database query, the query plan having operators and specific operational parameters associated with each of the operators, the association of operators and specific operational parameters being specific to the particular database query;
from the query plan instantiating a plurality of compiled code templates, each code template comprising compiled native machine 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; and
binding the code templates together using programmatic control flow to create a functioning program.
3 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
20 Claims
-
1. A method of performing database queries, the method comprising:
-
receiving a particular database query; accessing a query plan based on the particular database query, the query plan having operators and specific operational parameters associated with each of the operators, the association of operators and specific operational parameters being specific to the particular database query; from the query plan instantiating a plurality of compiled code templates, each code template comprising compiled native machine 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; and binding the code templates together using programmatic control flow to create a functioning program. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for performing database queries, the system comprising:
-
one or more processors; and one or more computer readable media, wherein the one or more computer readable media comprise computer executable instructions that when executed by at least one of the one or more processors cause the system to perform the following; receiving a particular database query; accessing a query plan based on the particular database query, the query plan having operators and specific operational parameters associated with each of the operators, the association of operators and specific operational parameters being specific to the particular database query; from the query plan instantiating a plurality of compiled code templates, each code template comprising compiled native machine 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; and binding the code templates together using programmatic control flow to create a functioning program. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium comprising computer executable instructions that when executed by one or more processors causes the following to be performed:
-
receiving a particular database query; accessing a query plan based on the particular database query, the query plan having operators and specific operational parameters associated with each of the operators, the association of operators and specific operational parameters being specific to the particular database query; from the query plan instantiating a plurality of compiled code templates, each code template comprising compiled native machine 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; and binding the code templates together using programmatic control flow to create a functioning program. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification