Fanny Cai
Platform Technology Solutions
2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Agenda
3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
BI Applications Data Model Features
4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
BI Applications Data Model Features
5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Star Schema
6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Selected Star Schemas in OBAW
7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Sample Data Model
W_ORDER_F and W_ORDERITEM_F
8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Fact Tables
9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Types of Fact Tables
Cycle Lines Facts
Transactional Facts
– Derived from multiple fact tables,
– Mirror of transactional data from
the source typically store process cycle times
– Sales Order Cycle Lines,
– E.g. Order Lines Fact, Account
Receivable Transactions Purchase Cycle Lines
State Transition Facts
Snapshot Facts
– Required for specialized transition
– Snapshot of balances across
time count metrics
– Customer State transitions (#
– E.g. Inventory & Account
Balances, AR and AP aging New, # Inactive, # Dormant
snapshots & Opportunity customers, etc)
Pipeline Aggregate Facts
– Performance enhancement on key
metrics
10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Dimension Tables
11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Dimension Hierarchy Tables
Tree hierarchies are flattened and stored in
separate tables with level indicators Level 3
(top)
A
- W_INDUSTRY_DH
- W_INT_ORG_DH Level 0
(base)
F G
- W_OPTY_DH
- W_ORG_DH Base (Level 0) Others Level 1 Level 2 Top
A … A A A
- W_PERIOD_DH
B … B B A
- W_POSITION_DH
C … C C A
- W_PRODUCT_DH D … D B A
- W_PRODCAT_DH E … E B A
F … D B A
- W_REGN_DH
G … D B A
Identified with the suffix _DH
12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Aggregate Tables
Base Fact Table
Detail level facts are DayTime_ID
13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Aggregate Tables
14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Staging Tables
15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Other Table Types
Subset Dimension Mini-Dimension
– The data are extracted from – The dimension tables that include a
dimension tables using a filter on combination of frequently queried
attributes of the original dimension attributes
table – It improves the query performance
– It contains all columns from the since the fact table can avoid joining
original dimension tables to the big parent dimension tables
– Is used in conjunction with – Some tables exist in BI Apps:
aggregate tables W_RESPONSE_MD
– BI Apps does not directly deliver W_AGREE_MD
the Subset dimensions W_ASSET_MD
– The deploying organization can W_OPTY_MD
create subset dimension to W_ORDER_MD
optimize their performance
W_SRVREQ_MD
16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Table Types and the Table Naming Convention
– Fact Table (W_XXX_F) ETL tables
– Dimension Table (W_XXX_D) – General Tables (W_XXX_G), such
– Dimension Hierarchy Table as exchange rate
(W_XXX_DH) – Temporary Tables (W_XXX_TMP)
– Aggregated Fact Table (W_XXX_A) – support Multi-staging
– Staging Tables for each type: Prefix with OLTP source when
appropriate
Fact Staging (W_XXX_FS)
Ex. W_ORA_XXX_TMP
Dimension Staging (W_XXX_DS)
Dimension Hierarchy Staging – Tables for support Soft Delete
(W_XXX_DHS) W_XXX_F_PE
– Mini-Dimension (W_XXX_MD) W_XXX_F_DEL
17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Slowly Changing Dimension
The attributes of a dimension may change overtime, but changes are not
frequent. For example, the marital status of your employees or customers.
Here are the industry standard ways to handle this problem:
- Type 1: Overwrite the dimension record with the latest values, therefore
losing history
- Type 2: Create a new dimension record for the new values
- Type 3: Create a new field in the dimension table to hold both the
current and the previous values
18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Slowly Changing Dimension Support
19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Conforming Dimensions
20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Conforming Dimensions
Fact tables share the same dimension tables
Conforming across CRM & ERP
Conforming across Multiple Sources
Ensure Cross Fact Analysis
21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Conformed Dimensions
Time Dimensions
Customer Dimensions
Product Dimensions
Supplier Dimensions
Internal Organization Dimensions
Employee Dimensions
Business Location Dimensions
Accounts Dimensions
- GL Account
- Cost Center
- Profit Center
22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Time Dimensions
DIMENSION PHYSICAL TABLES DESCRIPTION
• Marketing Period
• Period • W_PERIOD_D, W_PERIOD_DH
• Not a conformed dimension today
23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Account Dimensions
24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Multiple Currency Support
25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Multiple Calendar Support
26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Multi-Source Load
INTEGRATION_ID: Stores the primary key or the unique identifier of
the record from the OLTP
- The transaction sources may use the same ID for identifying
different objects which may share the same target table
DATASOURCE_NUM_ID: Source the data source from which the
data is extracted.
- All warehouse tables have the DATASOURCE_NUM_ID as part
of the unique user key
- OOTB, it is used in resolving the FK from fact to dimension
- The value is predefined in BIACM when configuring the source
system
27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Multi-Source Loads
Segregation and Lineage captured in data model
Source data keys, comprised of:
+
Integration ID Data Source Num
Part no. Plant id
+ +
‘MT27907b’ ‘NW3’ ‘1’ (Siebel OLTP)
Integration_id for Product dimension from other sources:
Oracle EBS ‘item_id ~ organization_id
28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Business Process Conformance
29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Business Process Conformance
Other All other types of transactions BI/AR: All other types of items
30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Incremental Extraction and Load
A variety of strategies used to optimize incremental extracts and loads
Overall Philosophy – Extract incrementally if possible, else load
incrementally
- Siebel Source
Use a combination of a date window and rowid comparisons
- Oracle
Use a date window and last update date for extraction
Also use dates/record images to control updates on target
- PeopleSoft
Use a date window and last update dates for extraction
wherever possible
31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Summary
32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal
Q&A
33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Internal