Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Who Am I?
Oracle BI&W Architecture and Development Specialist Co-Founder of Rittman Mead Consulting Oracle BI&W Project Delivery Specialists 10+ years with Discoverer, OWB etc Oracle ACE Director, ACE of the Year 2005 Writer for OTN and Oracle Magazine Longest-running Oracle blog http://www.rittmanmead.com/blog Chair of UKOUG BIRT SIG Co-Chair of ODTUG BI&DW SIG Second year of OU BI Masterclasses 18 countries visited in 2006-7
Seminar Agenda
Introduction ETL and DW development using Oracle 11g and OWB 11g Coffee Creating the BI foundation later with OBIEE BI Server Lunch Reporting and Dashboards using OBIEE Presentation Server Coffee Analytics and OLAP Analysis using Oracle OLAP and Oracle Essbase Close
Seminar Material
Presentation slides are available in PDF format http://www.rittmanmead.com/presentations Leave a business card and I will forward on copies, answer questions Visit http://www.rittmanmead.com for more OBIEE material
Participant Introduction
The most important people in this room are you It helps if I know a bit about you Your Oracle BI experience Your course objectives Where you work Introduce yourself to me, and to the other seminar participants
Seminar Participation
Questions are welcome at any time During the session During breaks At the end of the day Hopefully Ill know the answer If not, Ill get back to you Your feedback is appreciated What worked well, what could be better Flow of slides and product coverage Fill in the evaluation forms (Oracle and mine)
Objectives
Understand the data warehousing features in the Oracle database See whats new in Oracle Database 11g for data warehousing Partitioning Cube Organized Materialized Views See whats new in OWB11g SCD2 Handling that works (sort of) DML Error Logging Get an introduction to ODI 10.1.3.4 Web Services functionality
Partitioning
Use table partitions to make large (fact) tables more manageable age out old data by dropping partitions add new partitions to receive new data set unchanging tablespaces to READ ONLY to optimize database backup speed data load by using partition exchange can reduce query time by partition elimination (pruning) parallel query
Annual Data
Jan Feb
Mar
Demonstration
Cube Organized Materialized Views
Demonstration
DML Error Logging in OWB11g / 10.2.0.3
SOA Architecture
BPEL Orchestration
Business Activity Monitoring Web Services Manager Declarative Rules Engine Enterprise Service Bus
ETL Process
Mappings Metadata
CDC
DW Sources
DW Target
-------------
CDC
Metadata
Event-oriented
Service-
ODIInvokeWebService Tool
Request data from a web service Called as a package step (in OWB terms, a process ow) Data is fetched into an XML document XML document then processed and loaded into a table Most suited to use in initial data preparation, then loaded into staging table for access by ODI interface
Next-Generation DW Objectives!
Incorporate data feeds from multiple sources Database tables Files Services Events Create a consolidated, integrated reporting database Incorporates batch-loaded and real-time data Uses database-centric and heterogeneous tools Tackle integration and standardization issues in a single place Provide an integrated store of data, indexed and optimized
Demonstration
ODI, Service and Event-Based Data Integration
Summary
Oracle Database 11g comes with a number of new data warehousing features Partitioning improvements Cube Organized Materialized Views OWB11g features bug xes, enhancements and support for 11g SCD2 handling that works (watch performance though) Support for DML Error Logging Data Warehousing in the Fusion era is no longer just about extracting from, and loading to, Oracle databases ODI provides access to heterogeneous data sources Non-Oracle databases Web services Events
Web Browser
Javascript for Usability & Interactivity
Oracle BI Publisher
Delivery Server Layout Interfaces XSL Data Logic
User Profiling, Security and Session Mngmt Cache Services (Web) & Connection Mngmt
TCP/IP (SSL)
Oracle BI Server
Logical SQL ODBC/JDBC (Logical Business Model)
Metadata Interchange
Load Balancer
Logical Request Generation Cache Services Navigator Multi-Pass / Sub-Request Logic Fragmentation Optimization Aggregate Navigator Optimized Query Rewrites Execution Engine
Oracle BI Administration
Metadata Management Services Multi-User Development Services Metadata Documentation Services Server Management Services
Security Services
Query Govern.
Oracle BI Server
Calculation and Data Integration Engine Virtual Data Warehouse Allows reporting across multiple sources Data accessed though metadata layer Connects to RDBMS and OLAP data Oracle Database (including Oracle OLAP) IBM DB2 Microsoft SQL Server Teradata Microsoft Analysis Services (OLAP) SAP BW 'info cubes' Security, Summary Management Translates incoming logical SQL in to optimized, physical SQL
SAW Bridge (J2EE/ISAPI) XML, HTML, XLS, PDF, TXT over HTTP/HTTPS
Web Browser
Javascript for Usability & Interactivity
User Profiling, Security and Session Mngmt Cache Services (Web) & Connection Mngmt
Oracle BI Administration
MS Windows application for managing BI Server Creates and manages Common Enterprise Information Model Physical, logical and presentation layers Manage other aspects of BI Server Security Scheduler (Delivers server) Oracle BI Administration Jobs Joins Marketing Metadata Management Services Sessions Multi-User Development Services Cache Metadata Documentation Services Utilities and Tools Server Management Services Connect to BI Server via ODBC DSN
Data Access
Reporting data may be sourced from multiple databases, applications Oracle Database (including Oracle OLAP) IBM DB2 Microsoft SQL Server Teradata Microsoft Analysis Services (OLAP) SAP BW 'info cubes' SAP, Peoplesoft, Siebel, E-Business Suite Oracle BI Server joins this source data together and presents a logical business model Facts Dimensions Calculations
Customer
Calculations
OBIEE has its own SQL syntax Cross-platform Same SQL across all sources Calculations, analytics, time-series Calculation Wizard for time-series calculations AGO, TO_DATE Oracle BI Answers features SQL pass-thru Has to be enabled per user Allows native functions to be used Future: direct support for native SQL functions
Time-Series Calculations
OBIEE 10.1.3.2 supports limited time-series functions AGO value of a measure x months, quarters, years ago
AGO(Videostore."Sales fact view".Sales, Videostore.TimesDim."Month", 1)
Requires at least one time dimension in the metadata layer Requires at least one or more Chronological keys Monotonically increasing value (DAY etc)
Demonstration
Creating the initial Common Enterprise Information Model
Demonstration
Adding a Second Data Source
Fragmentation
Logical tables have >1 Logical Table Source Logical Table Source 1 = Historical Data Logical Table Source 2 = Real-Time Data
Fragmentation Step 1
Add new logical table source to Items logical table
Fragmentation Step 2
Ensure mapped tables are added to new LTS
Fragmentation Step 3
Add Fragmentation Content conditions
Fragmentation Step 4
Repeat process for Dimensions Do not add fragmentation condition if same data in both dimension versions Add distinct clause instead
Demonstration
Adding real-time data using Fragmentation
Summary
The Business Logic layer is central to Oracles BI&DW Architecture Consists of physical, logical and presentation layers Foundation is properly-joined physical table sources Denormalized star schema built using complex logical joins Calculations (including time-series calculations) not available in the source database can be added to logical model Where possible though, use in-database analytics and OLAP Dimensions dened to determine drill paths Additional data sources can be combined in a single business model Real-time data can be incorporated using Fragmentation
SAW Bridge (J2EE/ISAPI) XML, HTML, XLS, PDF, TXT over HTTP/HTTPS
Web Browser
Javascript for Usability & Interactivity
User Profiling, Security and Session Mngmt Cache Services (Web) & Connection Mngmt
Oracle BI Answers
Query authoring tool for BI EE Report against business model Tables, Cross-tabs Graphs, Gauges View and column selectors Narratives Publish to Oracle BI Interactive Dashboards Database-neutral Connects through BI Server
Answers Views
Each report (request) contains a single query Possible to union, minus etc with similar queries Query has one or more views associated with it Table, pivot-table Chart, gauge, funnel chart Title, narrative View and column selectors Views are combined in the compound view Compound view generally displayed in dashboard
Dashboard Interactivity
Prompts can be added to dashboard Drop-down lists, multi-select Passes parameters to reports Switch between different views Change columns used in reports
Demonstration
Creating Reports and Dashboards using Oracle BI Presentation Server
Oracle BI Publisher
Publishes Answers reports as PDF, XLS, RTF etc Also direct access to metadata layer Pixel-perfect reports Used for distributionquality reporting Integrated into dashboard
Oracle BI Delivers
Scheduling and distribution Uses iBots (Intelligent Bots) Integration (through Java) with BPEL iBot chaining, calling from BPEL, calling BPEL Permits alerts, through execution of Answers reports If report returns rows, alert triggered Alert appears on dashboard, via email, SMS, cell phone Can trigger narrative and conditionally-appearing reports on dashboard
Demonstration
Guided Analytics and Conditional Display
Summary
Oracle BI Answers and Dashboards give you many ways to display and visualize data Many formatting and layout options are now possible Best practices exist for laying out dashboards and presenting data Reports and dashboards can be made interactive and navigable
Essbase Overview
Multi-dimensional database engine Calculations, aggregations, forecasting, allocation Foundation for many analytical applications Originally developed by Arbor, merged with Hyperion Software 1998 Part of Oracle Fusion Middleware End-User focused, very popular with business users
Essbase Architecture
ODBC connectivity to all major RDBMSs, plus SAP B/W Multi-dimensional OLAP engine Java and XML/A mid-tier Essbase query tools or OBIEE+
Administration Services
Three-tier application for administering Essbase Console for editing, maintaining Essbase databases Java, launched through Web browser Allows you to maintain the OLAP database outline Denition of dimensions, hierarchies, measures
Integration Services
IDE for dening and loading an Essbase database Derive an Essbase cube from a relational star schema Dene dimensions, hierarchies, measures Populate cube Set up hybrid (HOLAP) storage Generate calculation scripts
Provider Services
Mid-tier that provides XML/A connectivity, Java API Fail-over, clustering Requirement for OBIEE and Smart View access
Demonstration
Creating an Essbase Cube using Oracle Data
Demonstration
Importing and Reporting against Essbase using Oracle BI Enterprise Edition
Cost-Based Aggregation
Alternative to level-based pre-aggregation 0 = no pre-summarization 1 = build composite, no pre-summarization Typical gure is 20, 50 is quite high Higher gures tell AWM to precompute more of the aggregate space
Demonstration
Creating an Oracle Database 11g OLAP Option Cube, Enabling for Query Rewrite and SQL Access
Summary
Essbase is the analytical OLAP engine provided by Hyperion Standalone analytical applications, engine behind Hyperion Planning etc Query using MDX, Smart View, XML/A applications Powerful query features, calculations, high uptake by business users Integrates with OBIEE via XML/A interface Oracle OLAP is the in-database analytical solution for the Oracle RDBMS Tight SQL integration Accessed through SQL views or through Cube Organized Materialized Views Both are highly capable OLAP servers Essbase aimed at standalone analytical apps, integration with OBIEE Oracle OLAP aimed at database-centric OLAP, also integrates well with OBIEE
And Finally..."
Thank you all for attending I hope today has been of interest to you Please remember to complete the seminar evaluations Leave your contact details with me to forward on the slides Have a safe journey home Goodbye!