METHODS AND SYSTEMS FOR GENERATING QUERY PLANS THAT ARE COMPATIBLE FOR EXECUTION IN HARDWARE
    1.
    发明申请
    METHODS AND SYSTEMS FOR GENERATING QUERY PLANS THAT ARE COMPATIBLE FOR EXECUTION IN HARDWARE 审中-公开
    用于产生兼容硬件执行的查询计划的方法和系统

    公开(公告)号:US20100005077A1

    公开(公告)日:2010-01-07

    申请号:US12168821

    申请日:2008-07-07

    IPC分类号: G06F17/30

    CPC分类号: G06F16/24542

    摘要: Embodiments of the present invention generate and optimize query plans that are at least partially executable in hardware. Upon receiving a query, the query is rewritten and optimized with a bias for hardware execution of fragments of the query. A template-based algorithm may be employed for transforming a query into fragments and then into query tasks. The various query tasks can then be routed to either a hardware accelerator, a software module, or sent back to a database management system for execution. For those tasks routed to the hardware accelerator, the query tasks are compiled into machine code database instructions. In order to optimize query execution, query tasks may be broken into subtasks, rearranged based on available resources of the hardware, pipelined, or branched conditionally

    摘要翻译: 本发明的实施例生成和优化在硬件中至少部分可执行的查询计划。 在接收到查询后,查询将被重写和优化,以便查询的片段的硬件执行偏差。 可以采用基于模板的算法将查询转换成片段,然后转换为查询任务。 然后可以将各种查询任务路由到硬件加速器,软件模块,或者发送回数据库管理系统以执行。 对于路由到硬件加速器的任务,将查询任务编译为机器码数据库指令。 为了优化查询执行,查询任务可能被分解为子任务,根据硬件的可用资源,流水线或有条件的分支进行重新排列