发明名称 EXTERNAL OFFLINE QUERY OPTIMIZATION
摘要 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.
申请公布号 US2017017689(A1) 申请公布日期 2017.01.19
申请号 US201514798785 申请日期 2015.07.14
申请人 SAP SE 发明人 Scheibli Daniel;Schulz Frank O.
分类号 G06F17/30;G06F12/08 主分类号 G06F17/30
代理机构 代理人
主权项 1. A computer-implemented method, comprising: determining 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; triggering an external offline optimization process to generate an externally optimized execution plan for the SQL database query, the generation including: 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; andexecuting the selected at least one optimization strategy to generate the externally optimized execution plan; and pinning the externally optimized execution plan into the database plan cache.
地址 Walldorf DE