We’re sorry. We could not find a match for your search.

We suggest you try the following to help find what you’re looking for:

  • Check the spelling of your keyword search.
  • Use synonyms for the keyword you typed, for example, try "application" instead of "software."
  • Start a new search.
Cloud Account Sign in to Cloud
Oracle Account
Analytical SQL

SQL for Analysis, Reporting and Modeling

Included in Oracle Database is a compelling array of analytical features and functions that are accessible through SQL and a new fast and efficient way to organize data using a dimensional model.

Test Drive Oracle Database 19c in the Cloud
Get the Details

Oracle Analytic SQL

Overview of SQL for Analysis, Reporting and Modeling

The in-database analytical functions and features that are embedded inside the Oracle Database can be used to answer a wide variety of business problems. Developers and business users can access a wide range of analytic features and combine their results with other SQL queries and analytical pipelines to gain deeper insights.

Standards Based SQL

In 1986, SQL became a standard of the American National Standards Institute (ANSI) and since then it has advanced to its current iteration, ANSI 2011. This standardization has two major benefits:

  • the standard provides a high degree of application portability across different database systems without major code changes. In the field of data warehousing, BI tools are able to effectively support multiple types of SQL databases in a straightforward manner.
  • – the SQL standard has ensured continuity in application development. A SQL statement written thirty years ago continues to run today, without any modification to the SQL code.

Continuous Evolution

Oracle has a long history of embedding sophisticated SQL-based analytics within the Oracle Database.

Window functions, which are now a key analytical feature in the analysis of big data, were first introduced in Oracle 8i (1999) and many developers use them to manage complex big data requirements.

Oracle 10g (2003) introduced the SQL Model clause, which provides a spreadsheet–like what–if modeling framework aimed at business users and 12c introduced SQL pattern matching along with the HyperLogLog based approximate count distinct function. Database 18c further provides the ability to write self–describing, reusable, fully dynamic table functions along with extensions to approximate query processing.

Key Benefits of SQL for Analysis, Reporting and Modeling

The key benefits provided by Oracle's in-database analytical functions and features are:

  • Enhanced Developer Productivity - perform complex analyses with much clearer and more concise SQL code. Complex tasks can now be expressed using single SQL statement which is quicker to formulate and maintain, resulting in greater productivity.
  • Improved Query Speed - processing optimizations supported by in-database analytics enable significantly better query performance. Actions which before required self-joins or complex procedural processing may now be performed in native SQL.
  • Improved Manageability - ability to access a consolidated view of all data types and sources is simplified when applications share a common relational environment rather than a mix of calculation engines with incompatible data structures.
  • Minimized Learning Effort - SQL analytic functions minimize the need to learn new keywords because the syntax leverages existing well-understood keywords.
  • Industry standards based syntax - Oracle's features conform to ANSI SQL standard and are supported by a large number of independent software vendors.
Get the Details

Oracle Analytic Views

Overview of Analytic Views

Analytic views organize data using a dimensional model. They allow you to easily add aggregations and calculations to data sets and to present data in views that can be queried with relatively simple SQL.

Like standard relational views, analytic views are metadata objects (that is, they do not store data) which can be queried using SQL. They access data from other database objects such as tables, views, and external tables and can join multiple tables into a single view.

Analytic views also:

  • Organize data using a rich business model that has dimensional and hierarchical concepts
  • Include system-generated columns with hierarchical data
  • Automatically aggregate data
  • Include embedded measure calculations that are easily defined using syntax based on the business model
  • Include presentation metadata
  • Hierarchically aware calculation expressions

Key Benefits of Analytic Views

The key benefits provided by Oracle's new analytic views are:

  • Simplified and faster application development - it is much easier to define calculations within analytic views than it is to write or generate complex SELECT statements.
  • Calculation rules are stored once - rules are stored in the database which provides end-users with greater freedom of choice in their use of reporting tools.
  • Caluclation consistentcy - because calculation rules are defined once and stored inside the database, they can be re-used by any number of applications
Is your database ready to upgrade? Visit My Oracle Support and download the pre-upgrade utility.