Presentation is loading. Please wait.

Presentation is loading. Please wait.

7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model.

Similar presentations


Presentation on theme: "7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model."— Presentation transcript:

1 7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model

2 7-2 Copyright © 2006, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Define dimensions and cubes Navigate the Data Object Editor Define ETL mappings to load the dimensions and cubes

3 7-3 Copyright © 2006, Oracle. All rights reserved. Course Progress Report 1. Define the source metadata. 2. Ensure data quality using data profiling. 3. Define staging area metadata. 4. Derive data rules and run correction mappings. 5. Define a relational dimensional model. 6. Create a process flow. 7. Deploy the objects. 8. Execute or run the mappings. 9. View the data.

4 7-4 Copyright © 2006, Oracle. All rights reserved. Lesson Scenario Target module: SALES_WH Schema details: sales_wh/sales_wh Created by learner Precreated LOAD_PRODUCTS LOAD_CHANNELS LOAD_CUSTOMER LOAD_PROMOTIONS TIMES_MAP LOAD_SALES Mappings SALES -------- Cube CHANNELS TIMES PRODUCTS CUSTOMERS PROMOTIONS Dimensions

5 7-5 Copyright © 2006, Oracle. All rights reserved. Classifying the Data DescriptorsTime Dimensions Metrics Cubes

6 7-6 Copyright © 2006, Oracle. All rights reserved. Dimension Tables Dimension tables have the following characteristics: They contain textual information that represents the attributes of the business. They contain relatively static data.

7 7-7 Copyright © 2006, Oracle. All rights reserved. Determining Granularity Year? Quarter? Month? Week? Day?

8 7-8 Copyright © 2006, Oracle. All rights reserved. Dimensional Design Using OWB Implementing a dimension consists of specifying how the dimension and its data are physically stored. Defining Using wizard Implementing ROLAP MOLAP Deploying Using editor

9 7-9 Copyright © 2006, Oracle. All rights reserved. Defining Dimensions Using wizard Using editor

10 7-10 Copyright © 2006, Oracle. All rights reserved. Creating a Dimension Using the Wizard

11 7-11 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Name and Description

12 7-12 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Storage Type

13 7-13 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Dimension Attributes

14 7-14 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Levels Specify levels in the default hierarchy (STANDARD). The highest level appears at the top. Use the arrow keys to change the order.

15 7-15 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Level Attributes By default, ID, NAME, and DESCRIPTION attributes are selected for all levels. For the lowest level, all the listed attributes are selected.

16 7-16 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Data Policy

17 7-17 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Precreate Settings

18 7-18 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Dimension Creation Progress

19 7-19 Copyright © 2006, Oracle. All rights reserved. Configuring a Dimension Configure the physical properties of a dimension.

20 7-20 Copyright © 2006, Oracle. All rights reserved. Practice 7-1: Create a Dimension Using the Wizard This practice covers creating the CHANNELS dimension by using the Create Dimension Wizard.

21 7-21 Copyright © 2006, Oracle. All rights reserved. About the Data Object Editor Graphical view of dimension object: CHANNELS dimension Details window

22 7-22 Copyright © 2006, Oracle. All rights reserved. Detail View

23 7-23 Copyright © 2006, Oracle. All rights reserved. Creating or Editing a Dimension Using the Data Object Editor Creating or editing a dimension using the editor To use existing database tables or views to store the dimension data. This is also called manual binding. To use the snowflake or manual implementation methods. Star is the default implementation method for the ROLAP storage type. To create dimension roles To use skip levels in a hierarchy Creating a dimension using the wizard You can create dimension objects quickly. OWB provides default settings to the most commonly used values. Versus

24 7-24 Copyright © 2006, Oracle. All rights reserved. Creating a Dimension Using the Editor Advanced user: Using the editor to create a dimension Using the editor, you can create a new dimension in the Data Object Editor, or select an existing one to edit it.

25 7-25 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Name Tab

26 7-26 Copyright © 2006, Oracle. All rights reserved. Creating a Dimension Role

27 7-27 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Storage Tab

28 7-28 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Attributes Tab

29 7-29 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Levels Tab

30 7-30 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Hierarchies Tab

31 7-31 Copyright © 2006, Oracle. All rights reserved. Dimension Details: SCD Tab

32 7-32 Copyright © 2006, Oracle. All rights reserved. Relational Implementation: Star Star implementation

33 7-33 Copyright © 2006, Oracle. All rights reserved. Relational Implementation: Snowflake

34 7-34 Copyright © 2006, Oracle. All rights reserved. Binding OWB provides two options for binding dimension attributes to the database columns that store their data: Autobinding Manual binding

35 7-35 Copyright © 2006, Oracle. All rights reserved. Autobinding

36 7-36 Copyright © 2006, Oracle. All rights reserved. Manual Binding

37 7-37 Copyright © 2006, Oracle. All rights reserved. Manual Binding

38 7-38 Copyright © 2006, Oracle. All rights reserved. Unbind

39 7-39 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Data Viewer Tab

40 7-40 Copyright © 2006, Oracle. All rights reserved. Practice 7-2: Create a Dimension Using the Editor This practice covers creating the PRODUCTS dimension by using the editor.

41 7-41 Copyright © 2006, Oracle. All rights reserved. Creating the Time Dimension by Using the Time Wizard

42 7-42 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Name and Description

43 7-43 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Storage

44 7-44 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Data Generation

45 7-45 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Levels

46 7-46 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Precreate Settings

47 7-47 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Progress Panel

48 7-48 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Summary

49 7-49 Copyright © 2006, Oracle. All rights reserved. Practice 7-3: Create a TIMES Dimension Using the Time Wizard This practice covers creating the TIMES dimension by using the Time Wizard.

50 7-50 Copyright © 2006, Oracle. All rights reserved. Defining a Cube Using the Wizard SALES cube Dimensions Products Promotions Channels Customers Times Measures Amount Quantity Cost Sales_Products_FK Sales_Channels_FK Sales_Promotions_FK Sales_Customers_FK Customers dimension Products dimension Time dimension Promotions dimension Channels dimension Sales_Times_FK

51 7-51 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Name and Description

52 7-52 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Storage Type

53 7-53 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Dimensions

54 7-54 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Measures

55 7-55 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Summary

56 7-56 Copyright © 2006, Oracle. All rights reserved. Editing a Cube Using the Data Object Editor

57 7-57 Copyright © 2006, Oracle. All rights reserved. Assigning Roles Dimension roles in the Role drop-down list were created in the topic about dimensions. Here you assign the roles to the cube.

58 7-58 Copyright © 2006, Oracle. All rights reserved. Configuring Cubes Configure the physical properties of a cube.

59 7-59 Copyright © 2006, Oracle. All rights reserved. Practice 7-4: Create a Cube Using the Editor This practice covers creating the SALES cube by using the wizard and modifying the cube by using the editor.

60 7-60 Copyright © 2006, Oracle. All rights reserved. SALES_WH Mappings Designing ETL Mappings TIMES_MAP Mapping LOAD_CHANNELS Mapping LOAD_CUSTOMERS Mapping LOAD_SALES Mapping LOAD_PROMOTIONS Mapping Created by the learner Precreated for the learner Created by OWB LOAD_PRODUCTS Mapping

61 7-61 Copyright © 2006, Oracle. All rights reserved. Mapping to Load the PRODUCTS Dimension

62 7-62 Copyright © 2006, Oracle. All rights reserved. Mapping to Load the SALES Cube Join condition: INGRP1.ID = INGRP2.ORDER_ID And INGRP1.CUSTOMER_ID = INGRP3.CUSTOMER_ID And INGRP1.PROMOTION_ID = INGRP4.ID

63 7-63 Copyright © 2006, Oracle. All rights reserved. Mapping to load the SALES Cube (continued) Join condition: INGRP1.ID = INGRP2.ORDER_ID And INGRP1.CUSTOMER_ID = INGRP3.CUSTOMER_ID And INGRP1.PROMOTION_ID = INGRP4.ID

64 7-64 Copyright © 2006, Oracle. All rights reserved. Pluggable Mapping

65 7-65 Copyright © 2006, Oracle. All rights reserved. Generating the Mappings

66 7-66 Copyright © 2006, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Define dimensions and cubes Navigate the Data Object Editor Define ETL mappings to load the dimensions and cubes

67 7-67 Copyright © 2006, Oracle. All rights reserved. Practice 7-5: Design ETL Mappings This practice covers creating the LOAD_PRODUCTS mapping.

68 7-68 Copyright © 2006, Oracle. All rights reserved.


Download ppt "7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model."

Similar presentations


Ads by Google