发明名称 PREPARED EXECUTION PLANS FOR JOINS WITH PARTITIONED TABLES
摘要 A computer-implemented method for preparing and executing a plan for a query containing joins against one or more tables having multiple partitions includes receiving a query containing joins to execute against one or more tables in a database, where at least one of the tables includes multiple partitions. Prior to executing the query, the method includes preparing a plan to join the multiple partitions using paths between the joined partitions and storing the plan in a cache. During execution of the query, the method includes analyzing one or more clauses of the query to determine which of the joined partitions to prune from the plan, removing from the plan the paths connecting the pruned partitions and executing the plan without the pruned partitions to return a result to the query.
申请公布号 US2016371329(A1) 申请公布日期 2016.12.22
申请号 US201514746193 申请日期 2015.06.22
申请人 SAP SE 发明人 Bensberg Christian;Stephan Wolfgang;Joy Robin;Dragusanu Adrian
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A computer-implemented method for preparing and executing a plan for a query containing joins against one or more tables having multiple partitions, the method comprising: receiving a query containing joins to execute against one or more tables in a database, wherein at least one of the tables includes multiple partitions; prior to executing the query, preparing a plan to join the multiple partitions using paths between the joined partitions; storing the plan in a cache; during execution of the query, analyzing one or more clauses of the query to determine which of the joined partitions to prune from the plan; removing from the plan the paths connecting the pruned partitions; and executing the plan without the pruned partitions to return a result to the query.
地址 Walldorf DE