发明名称 Performing complex operations in a database using a semantic layer
摘要 The present invention includes a database with a semantic layer for performing standard SQL and complex operations custom to one or more application. In one embodiment the present invention includes receiving a data request from an application in a database, the data request specifying standard SQL operations and custom application operations to be performed for said application. The data request is processed in a semantic layer of the database. The semantic layer processes the standard SQL operations and the custom application operations and generates a logical execution plan comprising the standard SQL operations and the custom application operations. The logical execution plan is converted into a physical execution plan, which is executed by the database to generate a data result. The data result may be sent back to the application.
申请公布号 US8954418(B2) 申请公布日期 2015.02.10
申请号 US201012979236 申请日期 2010.12.27
申请人 SAP SE 发明人 Faerber Franz;Baeumges Daniel;Mindnich Tobias;Weyerhaeuser Christoph
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Fountainhead Law Group PC 代理人 Fountainhead Law Group PC
主权项 1. A computer-implemented method comprising: implementing a database executing on a computer system, wherein the database includes a row store and a column store; receiving a data request from an application in the database executing on the computer system, the data request specifying standard structured query language (SQL) operations and custom application operations to be performed for said application, wherein the custom application operations include creating a first table as a row table in the row store and creating a second table as a column table in the column store, wherein the custom application operations include a plurality of functions, and wherein at least two of the plurality of functions are free of side effects; processing, on the computer system, the data request in a semantic layer of the database, the semantic layer processing the standard SQL operations and the custom application operations, and wherein, in response to receiving the data request, the semantic layer generates a logical execution plan comprising said standard SQL operations and said custom application operations; converting, on the computer system, the logical execution plan into a physical execution plan using algebraic transformations and cost based optimizations based on database statistics, wherein the physical execution plan comprises native executable database operations for performing the standard SQL operations and the custom application operations, wherein the physical execution plan for the column store combines column store related read operations into a single plan operation that represents a complex query against the column store, and wherein the physical execution plan indicates that the at least two of the plurality of functions that are free of side effects are executed in parallel; executing the physical execution plan on the database, and in accordance therewith, generating a data result, wherein executing the physical execution plan includes performing a row store operation on the first table in the row store and performing a column store operation on the second table in the column store such that the at least two of the plurality of functions that are free of side effects are executed in parallel; and sending the data result from the database to the application.
地址 Walldorf DE