Included in Oracle Database 18c 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.
There are many new SQL features and enhancements in 18c that extend Oracle's flexible and comprehensive analytical framework:
Overall, the SQL analytic functions and features in Oracle Database 18c make it the most effective platform for delivering analytical results directly into operational, data warehousing and business intelligence projects. For more information see the following:
Presentation: SQL For Data Warehousing and Analysis: What's New In Oracle Database 18c (PDF)
Also new in 18c for : Analytic Views which organize data using a dimensional model. They provide a fast and efficient way to create analytic queries over data stored in existing database tables and views. 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. New in Database 18c is the ability to use the MDX (Multi-Dimensional Expression) query language.
Presentation OpenWorld 2016, Using Analytic Views to Enhance BI Applications and Simplify Development (PPTX)
Try out all of these exciting new features today by using the new free LiveSQL service. It provides you with instant access to a comprehensive collection of community scripts and structured tutorials covering the most important SQL features in Oracle Database 18c.
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.
Oracle's Database includes the following features:
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.
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.
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.
White Paper: SQL Natural Language For Data Analysis (PDF)
LiveSQL Tutorials: pattern matching
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:
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
Presentation: Using Analytic Views to Enhance BI Applications and Simplify Development (PPTX)
LiveSQL Tutorials: Analytic Views
Analytical SQL Documentation
Oracle's analytic SQL features and functions are a core part of Oracle Database. These features provide many ways to improve the performance of your data warehouse. The Data Warehousing Guide groups these features and functions into following areas:/p>
Learn more about the compelling array of analytical features and functions that are accessible through SQL using Oracle Database 18c
Analytical SQL Data Sheet (PDF)
Oracle Magazine - Ask Tom
March 2015 SQL, SQL and More SQL Tom Kyte covers using analytical SQL functions and SQL Model clause
Tom Kyte: 12 Features of Oracle Database 12c
George Lumpkin: Big Data and Data Warehousing for the Enterprise
Keep It Simple SQL (KISS):
Checkout the growing library of SQL videos on our YouTube channel by clicking here
Oracle Learning Library
OTN Virtual Developer Day