External offline query optimization
AssigneeSap SE
InventorsDaniel Scheibli, Frank O. Schulz
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsDaniel Scheibli, Frank O. Schulz
Estimating the term…
A determination is made that an execution plan for a received structure query language (SQL) database query to execute on a database is not present in a database plan cache. An external offline optimization process is triggered to generate an externally optimized execution plan for the SQL database query. The generation of the externally optimized execution plan includes: receiving all or part of the received SQL database query as SQL statements and metadata associated with the database, looping over and analyzing all the received SQL statements, selecting at least one an optimization strategy for the SQL statements; and executing the selected at least one optimization strategy to generate the externally optimized execution plan. The externally optimized execution plan is then pinned into the database plan cache.
A computer-implemented method, comprising:
A non-transitory, computer-readable medium storing computer-readable instructions, the instructions executable by a computer and configured to:
A system, comprising:
Dependencies are inferred from the claim text.