Database calculation engine having forced filter pushdowns with dynamic joins

    公开(公告)号:US10198475B2

    公开(公告)日:2019-02-05

    申请号:US14607681

    申请日:2015-01-28

    IPC分类号: G06F17/30

    摘要: A query that requests a filter attribute is received by a database server from a remote application server that is associated with a calculation scenario that defines a data flow model including one or more calculation nodes. Subsequently, the database server instantiates the calculation scenario. As part of the instantiation, the calculation scenario is optimized by (i) pushing down a filter attribute from a first node to a lowest available child node, (ii) removing the filter attribute from the first node, and (iii) removing non-required join-attributes from the instantiated calculation scenarios. Thereafter, the operations defined by the calculation nodes of the instantiated calculation scenario can be executed to result in a responsive data set. Next, the data set is provided to the application server by the database server.

    INTEGRATION OF CALCULATION MODELS INTO SQL LAYER
    2.
    发明申请
    INTEGRATION OF CALCULATION MODELS INTO SQL LAYER 有权
    将计算模型集成到SQL层中

    公开(公告)号:US20160140175A1

    公开(公告)日:2016-05-19

    申请号:US14540792

    申请日:2014-11-13

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30463

    摘要: According to an aspect, a database system for integrating calculation models into execution plans includes a first engine configured to parse a query to be applied on a database. The first engine is configured to invoke a second engine during query compilation. The second engine is configured to instantiate a calculation model based on the query, and the second engine is configured to derive a converted calculation model by converting the calculation model into a format compatible with the first engine. The first engine is configured to incorporate the converted calculation model into an execution plan during the query compilation and execute the query on the database according to execution plan.

    摘要翻译: 根据一方面,用于将计算模型集成到执行计划中的数据库系统包括被配置为解析要应用于数据库的查询的第一引擎。 第一个引擎配置为在查询编译期间调用第二个引擎。 第二引擎被配置为基于查询实例化计算模型,并且第二引擎被配置为通过将计算模型转换成与第一引擎兼容的格式来导出转换的计算模型。 第一个引擎被配置为在查询编译期间将转换的计算模型合并到执行计划中,并根据执行计划对数据库执行查询。

    Join Optimization in a Database
    4.
    发明申请
    Join Optimization in a Database 有权
    在数据库中加入优化

    公开(公告)号:US20150142774A1

    公开(公告)日:2015-05-21

    申请号:US14083267

    申请日:2013-11-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30466

    摘要: A database server receives a query from a remote application server that is associated with a calculation scenario. The calculation scenario defines a data flow model that includes one or more calculation nodes that each define one or more operations to execute on the database server. The database server can be a column-oriented database and at least one of the calculation nodes comprises at least one join operation. Thereafter, the database server instantiates the calculation scenario so that it is optimized by removing one or more join operations and associated branches within the calculation scenario. The database server then executes the operations defined by the calculation nodes of the optimized calculation scenario to result in a responsive data set. The database server then provides the data set to the application server.

    摘要翻译: 数据库服务器从与计算方案相关联的远程应用程序服务器接收查询。 计算方案定义了一个数据流模型,其中包括一个或多个计算节点,每个计算节点定义一个或多个在数据库服务器上执行的操作。 数据库服务器可以是面向列的数据库,并且至少一个计算节点包括至少一个连接操作。 此后,数据库服务器实例化计算方案,以便通过在计算方案中删除一个或多个连接操作和关联的分支进行优化。 然后,数据库服务器执行由优化的计算场景的计算节点定义的操作以产生响应数据集。 然后,数据库服务器将数据集提供给应用程序服务器。

    Constant Mapping Optimization in a Database
    5.
    发明申请
    Constant Mapping Optimization in a Database 有权
    数据库中的常量映射优化

    公开(公告)号:US20150120746A1

    公开(公告)日:2015-04-30

    申请号:US14066496

    申请日:2013-10-29

    IPC分类号: G06F17/30

    摘要: A database server receives a query associated with a calculation scenario that defines a data flow model that includes one or more calculation nodes. Each calculation node defines one or more operations to execute on the database server, the database server comprising a column-oriented database. Thereafter, the database server instantiates the calculation scenario and executes the operations defined by the calculation nodes of the instantiated calculation scenario to result in a responsive data set having a result table with a row for each column in the column-oriented database implicated by the query having a constant value. The database server then provides the data set to the application server. Related apparatus, systems, methods, and articles are also described.

    摘要翻译: 数据库服务器接收与定义包括一个或多个计算节点的数据流模型的计算场景相关联的查询。 每个计算节点定义在数据库服务器上执行的一个或多个操作,数据库服务器包括一个面向列的数据库。 此后,数据库服务器实例化计算场景,并执行由实例化计算场景的计算节点定义的操作,以产生具有结果表的响应数据集,该结果表具有由查询所牵涉的面向列的数据库中的每列的行 具有恒定值。 然后,数据库服务器将数据集提供给应用程序服务器。 还描述了相关装置,系统,方法和制品。

    Optimizing database queries having hierarchy filters

    公开(公告)号:US09767151B2

    公开(公告)日:2017-09-19

    申请号:US14083247

    申请日:2013-11-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30466

    摘要: A query is received by a database server from a remote application server. The query is associated with a calculation scenario that defines a data flow model that includes one or more calculation nodes and that includes at least one hierarchy filter. Each hierarchy filter is a filter of at least one hierarchy table. Each calculation node defines one or more operations to execute on the database server. Thereafter, the database server instantiates the calculation scenario. The instantiating includes optimizing the calculation scenario by transforming at least one hierarchy filter and pushing down the at least one transformed hierarchy filter to a lower calculation node. The database server then executes the operations defined by the calculation nodes of the optimized calculation scenario to result in a responsive data set. The database server can subsequently provide the data set to the application server.

    Integration of Optimization and Execution of Relational Calculation Models into SQL Layer
    10.
    发明申请
    Integration of Optimization and Execution of Relational Calculation Models into SQL Layer 有权
    将关系计算模型的优化和执行集成到SQL层中

    公开(公告)号:US20150363463A1

    公开(公告)日:2015-12-17

    申请号:US14307092

    申请日:2014-06-17

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30442

    摘要: A query is received by a database server from a remote application server. The query is associated with a calculation scenario that defines a data flow model that includes one or more nodes that each define one or more operations for execution by a calculation engine on the database server. Thereafter, the database server instantiates a runtime model of the calculation scenario based on the nodes of the instantiated calculation scenario. Subsequently, one or more of the nodes are identified as being convertible into a relational database format. These nodes are then used to form a container node. An execution plan of the runtime model of the calculation scenario including the container node is built that is executed by the database server to result in a data set which is provided by the database server to the application server.

    摘要翻译: 数据库服务器从远程应用程序服务器接收到查询。 该查询与定义包含一个或多个节点的数据流模型的计算方案相关联,每个节点定义一个或多个操作,以供数据库服务器上的计算引擎执行。 此后,数据库服务器基于实例化计算方案的节点实例化计算方案的运行时模型。 随后,一个或多个节点被识别为可转换为关系数据库格式。 然后使用这些节点形成容器节点。 构建包含容器节点的计算场景的运行时模型的执行计划,该运行时模型由数据库服务器执行以产生由数据库服务器向应用服务器提供的数据集。