Oracle OLAP Creating Cubes Part 1: Concepts

18
<Insert Picture Here> Oracle OLAP Creating Cubes Part 1: Concepts Marty Gubar Oracle BI/DW Product Management

description

Oracle OLAP Creating Cubes Part 1: Concepts. Marty Gubar Oracle BI/DW Product Management. Creating Cubes Sources. REGION. CUST. SALES FACT. INVENTORY. ITEM. TIME. Creating Cubes Sources: Table Relationships. REGION. CUST. SALES FACT. INVENTORY. ITEM. TIME. - PowerPoint PPT Presentation

Transcript of Oracle OLAP Creating Cubes Part 1: Concepts

Page 1: Oracle OLAP   Creating Cubes Part 1: Concepts

<Insert Picture Here>

Oracle OLAP Creating Cubes Part 1: Concepts

Marty GubarOracle BI/DW Product Management

Page 2: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesSources

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

Page 3: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesSources: Table Relationships

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

Page 4: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesSources: Column Relationships

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

ITEMITEM

item_key type_key cat_key

Page 5: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesDimensions Formalize Data Relationships

Product

Geography

Time

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

Page 6: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesDimensions Formalize Data Relationships

Product

Geography

Time

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

ProductLevel-based Hierarchy

Item

Type

Category

Define the business relationships

Page 7: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesDimensions Formalize Data Relationships

Geography

Time

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

ProductComplex Hierarchy

Model complex hierarchical relationships

Page 8: Oracle OLAP   Creating Cubes Part 1: Concepts

Parent

ChildrenDescendants

Creating CubesDimensions Formalize Data Relationships

Geography

Time

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

ProductHierarchical Relationships

Use family references to simplify calculations

Page 9: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesTime Dimension Supports Any Calendar Type

Product

Geography

Time

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM Time dimension simplifies time-series calculations

MARCH

Sun Mon Tue Wed Thu Fri Sat

1 2 3 4 5 6 7

8 9 10 11 12 13 14

15 16 17 18 19 20 21

22 23 24 25 26 27 28

29 30 31 Fiscal Year End

Page 10: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesArray-based Access of Summary Data

Product

Sales Cube

Inventory Cube

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

TimeGeography

Product

Time

Page 11: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesAggregation Rules

Product

Sales Cube

Inventory Cube

∑ Aggregation RulesProduct: SumGeography: SumTime: Sum

∑ Aggregation RulesProduct: SumGeography: SumTime: Sum

∑ Aggregation RulesProduct: SumTime: Hierarchical Last

∑ Aggregation RulesProduct: SumTime: Hierarchical Last

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

TimeGeography

Product

Time

Page 12: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesRich, Embedded Analytic Calculations

Calculations•Sales•YTD•YTD Growth •Market Share•Product Alert•Moving Average•…

Calculations•Sales•YTD•YTD Growth •Market Share•Product Alert•Moving Average•…

Calculations•Balance•Inventory Cost•Stock Out•…

Calculations•Balance•Inventory Cost•Stock Out•…

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

Product

Sales Cube

Inventory Cube

TimeGeography

Product

Time

Page 13: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesTune Physical Properties

Physical Properties:

Cost Based Aggregation: 30

Physical Properties:

Cost Based Aggregation: 30

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEM

Product

Sales Cube

Inventory Cube

TimeGeography

Product

Time

Partition: Quarter

Page 14: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating CubesTune Physical Properties

Physical Properties:

Cost Based Aggregation: 30

Physical Properties:

Cost Based Aggregation: 30

SALES FACTSALES FACT

TIMETIME

INVENTORYINVENTORY

REGIONREGION

CUSTCUST

ITEMITEMInventory Cube

Sales Cube

Product

TimeGeography

Product

Time

Partition: Quarter

Compress Aggregates: True

Product

TimeGeography

Page 15: Oracle OLAP   Creating Cubes Part 1: Concepts

Cube ViewsAutomatically Synchronized with Cubes

Web Analysis

Smart Search

Smart Space

Desktop Gadgets

SmartView

Custom Application (SOAP, J2EE, .Net MDX, etc.)

Hyperion Visual Explorer

INVENTORY CUBE INVENTORY CUBE

GEOGRAPHY GEOGRAPHY

TIME TIME

PRODUCT PRODUCT

SALES CUBESALES CUBE

Page 16: Oracle OLAP   Creating Cubes Part 1: Concepts

Cube-based Materialized ViewsTransparently Enhance Query Performance

Web Analysis

Smart Search

Smart Space

Desktop Gadgets

Hyperion Financial Reporting

SmartView

Custom Application (SOAP, J2EE, .Net MDX, etc.)

Statistical Package (SPSS, etc.)

Hyperion Visual Explorer

Automatic Query Rewrite

SALES FACTSALES FACT SALES CUBE MVSALES CUBE MV

Page 17: Oracle OLAP   Creating Cubes Part 1: Concepts

Creating Cubes with Analytic Workspace Manager

CreatingCubes

Page 18: Oracle OLAP   Creating Cubes Part 1: Concepts

For More Information

search.oracle.com

Oracle OLAP

Oracle Technology NetworkFor demonstrations, white papers, tutorials and more, visit:

http://www.oracle.com/technology/products/bi/olap/olap.html