×

Performing Complex Operations in a Database Using a Semantic Layer

  • US 20150120699A1
  • Filed: 01/06/2015
  • Published: 04/30/2015
  • Est. Priority Date: 05/14/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • implementing a database executing on a computer system;

    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 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, 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 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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×