Oracle 12.2 Analytic Views:

Similar documents
Grid Essentials. APEX 18.1 Interactive Grids. Karen Cannell TH Technology

Business Analytics in the Oracle 12.2 Database: Analytic Views. Event: BIWA 2017 Presenter: Dan Vlamis and Cathye Pendley Date: January 31, 2017

Going to the Grid: What the APEX 5.1 Interactive Grid Means or You and Your Users. Karen Cannell

Oracle BI 11g R1: Build Repositories

1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda

<Insert Picture Here> Fast Delivery of Intelligent BI Solutions

Oracle Database 10g: Introduction to SQL

Welcome to the topic of SAP HANA modeling views.

Oracle Database 11g: Data Warehousing Fundamentals

to-end Solution Using OWB and JDeveloper to Analyze Your Data Warehouse

1Z Oracle Business Intelligence (OBI) Foundation Suite 11g Essentials Exam Summary Syllabus Questions

Analytic Views: Use Cases in Data Warehouse. Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017

Analytics: Server Architect (Siebel 7.7)

OBIEE Performance Improvement Tips and Techniques

OLAP Introduction and Overview

ETL (Extraction Transformation & Loading) Testing Training Course Content

Aggregating Knowledge in a Data Warehouse and Multidimensional Analysis

A Case Study Building Financial Report and Dashboard Using OBIEE Part I

Oracle BI 11g R1: Build Repositories Course OR102; 5 Days, Instructor-led

Oracle BI 11g R1: Build Repositories

In-Memory is Your Data Warehouse s New BFF

Building Data Models with Microsoft Excel PowerPivot

Oracle BI 11g R1: Build Repositories

<Insert Picture Here> Optimizing ASO

Optimizing and Modeling SAP Business Analytics for SAP HANA. Iver van de Zand, Business Analytics

ETL Best Practices and Techniques. Marc Beacom, Managing Partner, Datalere

Oracle Database: SQL and PL/SQL Fundamentals NEW

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

C_HANAIMP142

Oracle OLAP. Java API Developer's Guide 11g Release 2 (11.2) E

The strategic advantage of OLAP and multidimensional analysis

Oracle OLAP. Java API Developer's Guide 11g Release 2 (11.2) E

Introduction to SQL/PLSQL Accelerated Ed 2

1. Analytical queries on the dimensionally modeled database can be significantly simpler to create than on the equivalent nondimensional database.

#mstrworld. Analyzing Multiple Data Sources with Multisource Data Federation and In-Memory Data Blending. Presented by: Trishla Maru.

Best Practices for Choosing Content Reporting Tools and Datasources. Andrew Grohe Pentaho Director of Services Delivery, Hitachi Vantara

Cognos Dynamic Cubes

SAP Crystal Reports and SAP HANA: Options and Opportunities (0301)

Hands-On with OLAP 11g for Smarter and Faster Data Warehouses

COGNOS (R) 8 GUIDELINES FOR MODELING METADATA FRAMEWORK MANAGER. Cognos(R) 8 Business Intelligence Readme Guidelines for Modeling Metadata

Oracle Database 10g: Using OLAP

Oracle Database: Introduction to SQL/PLSQL Accelerated

Guide Users along Information Pathways and Surf through the Data

Oracle Essbase XOLAP and Teradata

Call: SAS BI Course Content:35-40hours

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database option

Fast Complex BI Analysis with Oracle OLAP. NEOOUG September 16, 2011

Partner Presentation Faster and Smarter Data Warehouses with Oracle OLAP 11g

Create Cube From Star Schema Grouping Framework Manager

Oracle9i Database: Using OLAP

Data Integration and ETL with Oracle Warehouse Builder

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option. Kai Yu Oracle Solutions Engineering Dell Inc

How to Deploy Enterprise Analytics Applications With SAP BW and SAP HANA

Oracle APEX 18.1 New Features

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Data Warehouses Chapter 12. Class 10: Data Warehouses 1

INTRODUCTION. Chris Claterbos, Vlamis Software Solutions, Inc. REVIEW OF ARCHITECTURE

Module 1.Introduction to Business Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

Oracle OLAP. Java API Developer's Guide 12c Release 1 (12.1) E

Oracle OLAP Java API Developer's Guide. 12c Release 2 (12.2)

Business Intelligence Tutorial

ETL and OLAP Systems

No Bikinis? Working with SQL s Model

Fast Complex BI Analysis with Oracle OLAP. Oracle OpenWorld 2011

Acknowledgment. MTAT Data Mining. Week 7: Online Analytical Processing and Data Warehouses. Typical Data Analysis Process.

"Charting the Course... Oracle18c SQL (5 Day) Course Summary

Oracle BI 12c: Build Repositories

SAS 9.2 OLAP Server. User s Guide

An Overview of Data Warehousing and OLAP Technology

Tactics to Tackle APEX Bugs

<Insert Picture Here> Implementing Efficient Essbase ASO Application

Top 24 Obiee Interview Questions & Answers

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle BI, Oracle OLAP, Essbase The Benefits and Cost of Openness. Collaborate 2008 paper 207. April 14, 2008

IMPLEMENTING STATISTICAL DOMAIN DATABASES IN POLAND. OPPORTUNITIES AND THREATS. Central Statistical Office in Poland

Lotus Technical Night School XPages and RDBMS

Oracle In-Memory & Data Warehouse: The Perfect Combination?

11G Chris Claterbos, Vlamis Software Solutions, Inc.

Oracle OLAP. Application Developer's Guide, 10g Release 2 (10.2) B

CHAPTER 8 DECISION SUPPORT V2 ADVANCED DATABASE SYSTEMS. Assist. Prof. Dr. Volkan TUNALI

Analytic Workspace Manager and Oracle OLAP 10g. An Oracle White Paper November 2004

SAS Data Integration Studio 3.3. User s Guide

IBM Cognos 8 FRAMEWORK MANAGER GUIDELINES FOR MODELING METADATA

IBM DB2 Web Query for System i

COGNOS DYNAMIC CUBES: SET TO RETIRE TRANSFORMER? Update: Pros & Cons

Migrating Express Applications To Oracle 9i A Practical Guide

Oracle Database: Introduction to SQL Ed 2

IDU0010 ERP,CRM ja DW süsteemid Loeng 5 DW concepts. Enn Õunapuu

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Db2 Web Query Demonstration

Certification Exam Preparation Seminar: Oracle Database SQL

Vendor: SAP. Exam Code: C_HANAIMP151. Exam Name: SAP Certified Application Associate - SAP HANA (Edition 2015) Version: Demo

SSAS 2008 Tutorial: Understanding Analysis Services

PeopleTools 8.51 PeopleBook: PeopleSoft Cube Manager

Advanced Analytic Applications with Oracle JDeveloper and Oracle Business Intelligence Beans. An Oracle White Paper November 2004

Simplifying your upgrade and consolidation to BW/4HANA. Pravin Gupta (Teklink International Inc.) Bhanu Gupta (Molex LLC)

Advanced Data Management Technologies

Leverage the power of SQL Analytical functions in Business Intelligence and Analytics. Viana Rumao, Asher Dmello

Giving Your Headings Meaningful Names (Desktop and Plus) p. 158 Rearranging the Order of the Output p. 160 Formatting Data p. 163 Formatting Columns

Transcription:

Oracle 12.2 Analytic Views: Worth A Look Karen Cannell kcannell@thtechnology.com TH Technology

About Me Mechanical/SW Engineer - Analyzed, designed, developed, converted, upgraded, enhanced legacy & database applications for 30+ years Building Web/APEX applications for government, medical, engineering industries since HTMLDB beginnings Leveraging Oracle 10g,11g,12c suite of tools Editor Emeritus, ODTUG Technical Journal Oracle Ace APress Author ODTUG Director

About You Oracle Technology? OLAP Users? APEX Users? Why Are You Here? Analytics

Agenda What How to Build How to Query Who ~ Why ~ When ~Where to Use Wrap-up Questions ~ Discussion

Analytic Views: to Build What? TH Technology

Analytic Views Oracle 12.2 No Cost Feature Like a View Metadata (Do Not Store Data) Query via SQL Access Data from Other Objects Join Multiple Tables

Analytical Views Better than a View: Organize Model - Data into Dimensions, Hierarchies Automatically Aggregates Include Embedded Calculations (MEASURES) Include Presentation Metadata

Analytic Views Hierarchical / Dimensional Model Over the Dimension and Fact Tables of a Star Schema Best Performance Star Schema, In Memory W MViews, MViews In Memory

Analytic Views Simplify SQL for Analytic Queries No Joins, No GROUP BYs Define Calculations w/in Analytic View Aggregates ~ Calculations ~ Ranks ~ Forecasts Reuse Calculations from the Analytic View Make Dimensional, Hierarchical Analyses More Accessible Simpler, Faster Development

Analytic Views Move business logic into the DB Transform Data into a Business Model and Presentation Layer Organize Data for Common Analysis Queries Year/Month/Day, Country, Region, State Simple and Fast. -- A mere mortal can do it!

Analytic Views: to How Build to Build Attr Dimensions Hierarchies Analytic Views

System Privileges CREATE ANALYTIC VIEW CREATE ANY ANALYTIC VIEW ALTER ANY ANALYTIC VIEW DROP ANY ANALYTIC VIEW CREATE ATTRIBUTE DIMENSION CREATE ANY ATTRIBUTE DIMENSION ALTER ANY ATTRIBUTE DIMENSION DROP ANY ATTRIBUTE DIMENSION CREATE HIERARCHY CREATE ANY HIERARCHY ALTER ANY HIERARCHY DROP ANY HIERARCHY

Object Privileges SELECT - Query READ - Query ALTER - Rename Ex: GRANT ALL ON AV_USER.SALES_AV TO AV_USER2; GRANT ALTER ON AV_USER.SALES_AV TO AV_USER3;

Diagram here Dimensions Hierarchies of Dimension Analytic View that contains Measures based on the Hierarchies -- Faster Access to common (Defined) analytical agfregations, and -- Simpler query construction (c/o the complexity is on the AV where the calcs are defined)

Attribute Dimensions SH Time Base calendar yr query Base fiscal yr query These will be combined into one attr dimension

Sample Time Attr Dimension TH Technology

Now Add CLASSIFICATION TH Technology

Now Add CLASSIFICATION

Hierarchies Reference an Attribute Dimension Attribute Values are queried from Hierarchies

SH Hierarchies Time Products Customers Channels Promotions

Analytic Views Layer on Top of Star Schema using Attr Dims and Hierarchies Fact Data Included in AV Calculations Built Into the AV Metadata Built Into the AV

Analytic View DDL Format CREATE OR REPLACE ANALYTIC VIEW <name> <classification caption and description> USING <fact table> DIMENSION BY ( <list of dimension refs> ) HIERARCHIES ( <list of hierarchy references> ) MEASURES ( <list of measures> ) DEFAULT MEASURE ;

Analytic View Parts Recap USING fact table where to start DIMENSION BY What Dimensions Queries on the AV Will Use HIERARCHY Which Hierarchies Queries Will Use MEASURES Calculations: Sum, LEAD, LAG, Combinations What Calculations Are Needed CLASSIFICATION Metadata / Documentation Usually On AV and Measures

Measures Time Series LAG 1 ACROSS ANCESTOR AT LEVEL YEAR Previous Year AVG(sales) BETWEEN 11 PRECEDING AND CURRENT MEMBER 12 Month Period See LiveSQL Creating Time Series Calculations Views in Analytic

CLASSIFICATIONS Metadata Dimensions Hierarchies Avs Members Attributes - Measures Caption Description Format_string Shortcut Syntax for caption and description

AVs w Materialized Views Query Rewrite on MVs == Performance Gain CACHE

Validating Analytic Views DBMS_HIERARCHY

Analytic Views: to Build How to Query

Queries Against Analytic Views Simple Add Calculated Measures Combine Fact and Calculated Measure TH Technology

Query Analytic View - Simple

Query AV + Calculated Measure

Query AV Fact + Calculated TH Technology

SQL Developer Quick-Start SQL Dev 18.1 Oracle 12.2 Try It!

Application Containers an application-specific CDB w/in a CDB. Can Grant Analytic View Access to Application Container

Analytic Views: to Build Why ~ When ~ Where

Use Analytic Views For BI Reporting Systems Data Visualization Data Analysts BI Lite Any Dimensional, Hierarchical Queries

BI Lite Demo Quick Demo BI Lite In APEX

Transitioning to Your Data KNOW YOUR DATA PLAN Star Schema Dimensions Hierarchies Let SQL Dev Help Test, Timing, Test, Test

Analytic Views: Wrapup to Build Questions Discussion

Analytic Views Simpler SQL for Analytic Queries Best Performance Gain over Star Schema, In Memory SQL Dev QuickStart Faster Route to Data Viz, BI-Lite Implementations

Comments? Questions? Thank You Evaluations Please! Karen Cannell kcannell@thtechnology.com

Resources Analytic Views LiveSQL Demos https://livesql.oracle.com/apex/livesql/file/tutorial_edve861iid1qud1niupu5alew.html Analytic Views in SH Sample Schema https://livesql.oracle.com/apex/livesql/file/tutorial_edve861ij168otup6zz 01MX84.html Analytic View Support in SQL Developer https://www.thatjeffsmith.com/archive/2017/03/oracle-database-12c-release-2- analytic-views-sql-developer/ Using Analytic Views http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/12c/r2/analyti cviews/usingavs.html#overview

Thank You Evaluations Please! Karen Cannell kcannell@thtechnology.com