PREPARED EXECUTION PLANS FOR JOINS WITH PARTITIONED TABLES
    2.
    发明申请
    PREPARED EXECUTION PLANS FOR JOINS WITH PARTITIONED TABLES 审中-公开
    准备执行计划与联合表

    公开(公告)号:US20160371329A1

    公开(公告)日:2016-12-22

    申请号:US14746193

    申请日:2015-06-22

    Applicant: SAP SE

    CPC classification number: G06F16/24542 G06F16/2456

    Abstract: 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.

    Abstract translation: 一种用于准备和执行包含与具有多个分区的一个或多个表的联接的查询的计划的计算机实现的方法,包括接收包含连接以对数据库中的一个或多个表执行的查询,其中至少一个表包括多个 分区。 在执行查询之前,该方法包括准备使用连接的分区之间的路径来连接多个分区并将该计划存储在高速缓存中的计划。 在执行查询期间,该方法包括分析查询的一个或多个子句,以确定从计划中剪除哪个已连接的分区,从计划中删除连接已修剪分区的路径并执行计划,而不需要修剪的分区返回 查询的结果。

Patent Agency Ranking