obiee on olap demo

Upload: waqas-javed

Post on 10-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Obiee on Olap Demo

    1/24

    Demonstration ofOracle BI EE Running onOracle OLAP

    Dan Vlamis

    [email protected]

    Vlamis Software Solutions, Inc.

    816-781-2880

    http://www.vlamis.com

    Copyright 2007, Vlamis Software Solutions, Inc.

  • 8/8/2019 Obiee on Olap Demo

    2/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    Demonstration Provided by:Demonstration Provided by:Vlamis Software Solutions, Inc.Vlamis Software Solutions, Inc.

    Founded in 1992 in Kansas City, Missouri

    Oracle Partner and reseller since 1995

    Specializes in ORACLE-based:

    Data Warehousing Business Intelligence

    Data Transformation (ETL)

    Web development and portals

    Delivers

    Design and integrate BI and DW solutions

    Training and mentoring

    Expert presenter at major Oracle conferences

  • 8/8/2019 Obiee on Olap Demo

    3/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    Demo Has ParallelDemo Has ParallelMOLAP and ROLAP SourcesMOLAP and ROLAP Sources

    Data Flows

  • 8/8/2019 Obiee on Olap Demo

    4/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    Demo of BI EE on Oracle OLAPDemo of BI EE on Oracle OLAP

  • 8/8/2019 Obiee on Olap Demo

    5/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    ROLAP vs. MOLAPROLAP vs. MOLAP

    What is ROLAP? (Relational)

    What is MOLAP? (Multidimensional)

    It's all in how the data is stored

    Relational Multidimensional

  • 8/8/2019 Obiee on Olap Demo

    6/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    Classic ROLAP ApproachClassic ROLAP Approach

    Define appropriatesummaries based on query

    patterns

    Each summary is typicallydefined at a particular grain

    Month, Class, Ship_to

    Qtr, Family, Market

    Year, Family, Market

    etc.

    SALES_DETAIL

    day_iditem_idship_to_idUnitsSales

    SALES_MCS

    month_idclass_idShip_to_idUnitsSales

    Month, Class, Ship_to

    SALES_MIM

    month_iditem_idmarket_idUnitsSales

    Month, Item, Market

    SALES_YCI

    year_id

    class_iditem_idUnitsSales

    Year, Class, Item

    SALES_YFI

    year_id

    family_iditem_idUnitsSales

    Year, Family, Item

    SALES_MCI

    month_idclass_iditem_idUnitsSales

    Month, Class, Item

    SALES_YFM

    year_idfamily_idmarket_idUnitsSales

    Year, Family, Market

    SALES_QFM

    qtr_idfamily_idmarket_idUnitsSales

    Qtr,Family, Market

    SALES_XXX

    XXX_idXXX_id

    XXX_idUnitsSales

    Time Lvl, ProdLvl, Cust Lvl

    SALES_XXX

    XXX_idXXX_idXXX_idUnitsSales

    SALES_XXX

    XXX_idXXX_idXXX_idUnitsSales

    SALES_XXX

    XXX_idXXX_idXXX_idUnitsSales

  • 8/8/2019 Obiee on Olap Demo

    7/24Copyright 2007, Vlamis Software Solutions, Inc.

    Summary StrategiesSummary StrategiesClassic ROLAP approachClassic ROLAP approach

    SALES_DETAIL

    day_iditem_idship_to_idUniitsSales

    SALES_MCS

    month_idclass_idShip_to_idUnitsSales

    Month, Class, Ship_to

    SALES_MIM

    month_iditem_idmarket_idUnitsSales

    Month, Item, Market

    SALES_YCI

    year_id

    class_iditem_idUnitsSales

    Year, Class, Item

    SALES_YFI

    year_id

    family_iditem_idUnitsSales

    Year, Family, Item

    SALES_MCI

    month_idclass_iditem_idUnitsSales

    Month, Class, Item

    SALES_YFM

    year_idfamily_idmarket_idUnitsSales

    Year, Family, Market

    SALES_QFM

    qtr_idfamily_idmarket_idUnitsSales

    Qtr,Family, Market

    SALES_XXX

    XXX_idXXX_id

    XXX_idexpense_amountpotential_fraud_cost

    Time Lvl, ProdLvl, Cust Lvl

    SALES_XXX

    XXX_idXXX_idXXX_idexpense_amountpotential_fraud_cost

    SALES_XXX

    XXX_idXXX_idXXX_idexpense_amountpotential_fraud_cost

    SALES_XXX

    XXX_idXXX_idXXX_idUnitsSales

    SALES_DETAIL

    day_iditem_idship_to_id

    UnitsSalesProfitCostSales_Pr_YrToDateSalesSales_Pr_YrSales_Pct_Chg_Pr_Yr

    Sales_Total_ProdMarginMargin_Pr_Yr

    Most OLAP calculations do notaggregate easily

    Percentages

    Ratios

    Moving Averages

    Etc.

    Aggregation rules may be complex Difficult to handle case where user

    queries a grain that is not supportedby a view

    Summary view required

    for each grain that will bequeried

    Is thismanageable?

  • 8/8/2019 Obiee on Olap Demo

    8/24Copyright 2007, Vlamis Software Solutions, Inc.

    MOLAP Approach:MOLAP Approach:Single embedded total view for aggregationsSingle embedded total view for aggregations

    Single view contains data forallsummary levels

    Summary level for a rowdetermined by dimension levelcolumns

    Simple summarymanagement for ad hocenvironments

    SALES_CUBEVIEW

    time_idtime_levelproduct_idproduct_level

    customer_idcustomer_levelUnitsSalesProfitCostSales_Pr_YrToDateSalesSales_Pr_YrSales_Pct_Chg_Pr_Yr

    Sales_Total_ProdMarginMargin_Pr_Yr

  • 8/8/2019 Obiee on Olap Demo

    9/24Copyright 2007, Vlamis Software Solutions, Inc.

    Base

    Data

    Base

    DataCalced

    Facts

    Materialized Views

    (for each level)

    To help

    performance

    Source Star

    Schema BI EE Report

    BI EE on ROLAP

  • 8/8/2019 Obiee on Olap Demo

    10/24Copyright 2007, Vlamis Software Solutions, Inc.

    BI EE on MOLAPBI EE on MOLAP

    Base

    Data

    Original

    Data

    Aggregate

    Data

    Calced

    Facts

    (e.g.Profit)

    M

    e

    t

    a

    da

    t

    a

    Calced

    Facts

    Base

    Facts

    Analytic

    Workspace Cube

    Source Star

    Schema Cube View

    BI EE Report

  • 8/8/2019 Obiee on Olap Demo

    11/24Copyright 2007, Vlamis Software Solutions, Inc.

    Oracle Performance Case StudyOracle Performance Case StudyOracle Applications: Finance DBIOracle Applications: Finance DBI

    480

    90

    100

    200

    300

    400

    500

    600

    Materialized Views (partially

    aggregated*)

    OLAP (fully aggregated**)

    Minutes

    6 Million

    Input Rows

    * MV aggregated 1 dimension and 1 measure

    ** OLAP aggregated 7 dimensions and 11 measures

  • 8/8/2019 Obiee on Olap Demo

    12/24Copyright 2007, Vlamis Software Solutions, Inc.

    Oracle Performance Case StudyOracle Performance Case StudyAd Hoc Queries Across Summary LevelsAd Hoc Queries Across Summary Levels

    469

    20

    0

    100

    200

    300

    400

    500

    Without OLAP With OLAP

    Minute

    3450 Queries against

    250 million rows

  • 8/8/2019 Obiee on Olap Demo

    13/24Copyright 2007, Vlamis Software Solutions, Inc.

    And Now, Back to Our DemoAnd Now, Back to Our Demo

  • 8/8/2019 Obiee on Olap Demo

    14/24Copyright 2007, Vlamis Software Solutions, Inc.

    Reallocate Unit SalesReallocate Unit Sales

    Pro

    duc

    t

    Custo

    mer

    Time

    Envoy Executive + Envoy Ambassador

    Envoy Executivex

    Envoy Executive + Envoy Ambassador

    Envoy Ambassadorx

    ReallocatedUnits

    Reallocated

    Units

    Pro

    duc

    tC

    usto

    mer

    Time

    Unit_Price

    x

    Unit_Cost

    Pro

    duc

    tTime

    Pro

    duc

    tTime

    x

    ReallocatedSales

    Reallocated

    Unit Cost

    Envoy Ambassador

    Envoy Standard

    Envoy Executive

    Envoy Ambassador

    Envoy Standard

    Envoy Executive

    Units

  • 8/8/2019 Obiee on Olap Demo

    15/24Copyright 2007, Vlamis Software Solutions, Inc.

    Further InformationFurther Information

    Oracle BI Sales http://www.oracle.com/bi

    Oracle BI Technical http://www.oracle.com/technology/tech/bi/index.html

    Oracle BI EE on top of Oracle OLAP Collaborate 208: Using Oracle BI EE with Oracle OLAP Cubes

    on www.vlamis.com/papers.html

    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/olap/inde

    VMWare image with Demo environment www.bic2g.com

    Oracle OLAP and AWM Sales http://www.oracle.com/solutions/business_intelligence/olap.html

    Oracle OLAP Technical http://www.oracle.com/technology/products/bi/olap/index.html

    http://www.oracle.com/bihttp://www.oracle.com/technology/tech/bi/index.htmlhttp://www.vlamis.com/presentationshttp://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/olap/index.htmlhttp://www.bic2g.com/http://www.oracle.com/solutions/business_intelligence/olap.htmlhttp://www.oracle.com/technology/products/bi/olap/index.htmlhttp://www.oracle.com/technology/products/bi/olap/index.htmlhttp://www.oracle.com/technology/products/bi/olap/index.htmlhttp://www.oracle.com/solutions/business_intelligence/olap.htmlhttp://www.bic2g.com/http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/olap/index.htmlhttp://www.vlamis.com/presentationshttp://www.oracle.com/technology/tech/bi/index.htmlhttp://www.oracle.com/bihttp://www.oracle.com/bihttp://www.oracle.com/bi
  • 8/8/2019 Obiee on Olap Demo

    16/24Copyright 2007, Vlamis Software Solutions, Inc.

    Additional SlidesAdditional Slides

  • 8/8/2019 Obiee on Olap Demo

    17/24Copyright 2007, Vlamis Software Solutions, Inc.

    Why a Separate OLAP Tool?Why a Separate OLAP Tool?

    Empowers end-users to do own analysis

    Frees up IS backlog of report requests Ease of use

    Drill-down

    No knowledge of SQL or tables required

    Exception Analysis

    Variance Analysis

  • 8/8/2019 Obiee on Olap Demo

    18/24Copyright 2007, Vlamis Software Solutions, Inc.

    What Does Oracle OLAP Add to aWhat Does Oracle OLAP Add to aDW?DW?

    Multidimensional user view of data

    Users create own reports

    Users create own measures Easy drill-down, rotate

    Iterative discovery process (not just reports)

    Ad-hoc analysis

    Easy selection of data with business terms

    OLAP DML with what-if, forecasting

    Platform for extensions

  • 8/8/2019 Obiee on Olap Demo

    19/24Copyright 2007, Vlamis Software Solutions, Inc.

    Analytic Workspaces Are Stored inAnalytic Workspaces Are Stored inTablespaces in OLAPTablespaces in OLAP

    Star Tablespace AW TS

    Oracle DB

  • 8/8/2019 Obiee on Olap Demo

    20/24Copyright 2007, Vlamis Software Solutions, Inc.

    What is an Analytic Workspace?What is an Analytic Workspace?

  • 8/8/2019 Obiee on Olap Demo

    21/24Copyright 2007, Vlamis Software Solutions, Inc.

    Managing Analytic WorkspacesManaging Analytic Workspaces

  • 8/8/2019 Obiee on Olap Demo

    22/24Copyright 2007, Vlamis Software Solutions, Inc.

    OLAP AW Stores Data in CubesOLAP AW Stores Data in Cubes

    Regional Mgr. View

    Financial Mgr. View Ad Hoc View

    PROD

    Product Mgr. View

    Fast Flexible Access to Summarized Data

    PR

    ODUCT

    MARKET

    TIME

    SALESSALES

  • 8/8/2019 Obiee on Olap Demo

    23/24

    Copyright 2007, Vlamis Software Solutions, Inc.

    16 17 18 19 20 21 22 23

    24 25 26

    8 9 10 11 12 13 14 15

    0 1 2 3 4 5 6 7

    Formula for calculating cell offset:

    month + product * (# of months) + city*(# of months * # of products)

    2 + 1 * ( 3 ) + 1 *( 3 * 3 ) =

    14

    Offset 14 * 8 bytes each = 112.

    Fseek to byte 112 to find data.

    See http://www.vlamis.com for

    "How Does Express Really Work Anyway" for details.

    6 7 8

    0 1 2

    3 4 5

    8

    5

    2

    14

    11

    17

    26

    23

    20

    0 1 2

    9 10 11

    18 19 20

    0 1 2

    0

    1

    2

    P

    R

    O

    D

    U

    C

    T

    M O N T H

    0

    1

    2

    C

    I

    T

    Y

    Finding data is simple multiplicationFinding data is simple multiplicationand additionand addition

  • 8/8/2019 Obiee on Olap Demo

    24/24

    DB

    EULDiscoverer

    Admin

    OracleWarehouse

    Builder

    Design Repository

    Relational

    Tools

    MD

    Tools

    JOLAPISQL

    Creates

    ImportDeploy

    Discoverer

    Desktop

    App Server

    Infrastructure Tier

    Mid

    Tier

    Discoverer

    ServerPortal

    OID

    (LDAP)

    Excel

    SS Add-In

    Discoverer

    Plus

    Browser

    w/ AppletHTTP Server

    Discoverer

    Viewer

    Browser

    Portal

    (Dashboard)

    Browser

    Client

    DDL

    DML

    Sources

    Reports

    Server

    Servlet

    AnalyticWorkspace

    Manager

    iDS= Included in

    Map

    Oracle BI SEArchitecture