Deciding whether to cache a generic plan for executing a request based on a system performance metric
AssigneeTeradata US, Inc.
InventorsBhashyam Ramesh, Donald Pederson, Manjula Koppuravuri
Life of this patent
Estimating the term…
Loading patent…
AssigneeTeradata US, Inc.
InventorsBhashyam Ramesh, Donald Pederson, Manjula Koppuravuri
Estimating the term…
A method, computer program, and database system are disclosed. A plurality of instances of a request to a database system are received. All instances of the request have a same set of variables to use in executing the request. The values of the variables are supplied by data in a data source. A specific plan for executing one instance of the request is generated. Generating the specific plan includes taking into account data in the data source. The specific plan is executed on the database system. A system run-time metric and a parsing time for executing the specific plan are captured and saved. A generic plan is generated and cached based on a comparison of the system run-time metric and the parsing time for executing the specific plan.
A method comprising:
A computer program, stored in a non-transitory tangible medium, the program comprising executable instructions that cause a computer to:
A database system, the system comprising:
Dependencies are inferred from the claim text.