Oracle Warehouse Builder 10.2 - Click by Click

Preview:

DESCRIPTION

Oracle Warehouse Builder 10.2 - Click by Click. February 8, 2007 Jim Raper Data Administration Manager BSS/IT City of Charlotte jraper@ci.charlotte.nc.us. - PowerPoint PPT Presentation

Citation preview

1

Oracle Warehouse Builder 10.2 - Click by Click

February 8, 2007

Jim RaperData Administration Manager

BSS/ITCity of Charlotte

jraper@ci.charlotte.nc.us

2

DISCLAIMER

The views and opinions presented in this paper are solely those of the Author and do not necessarily reflect those of Business Support Services Information Technology Division or of the City of Charlotte. This material is provided for informational purposes only. City of Charlotte assumes no responsibility for accuracy of the information in this paper or from damages caused by implemented the techniques or methodologies presented herein.

3

Building a Mapping of PeopleSoft Data

• Join Two Tables

• Build a Key Lookup

• “Clean” or Transform Data with an Expression

• Upsert Target Table with Results

• Deploy and Run Mapping

4

10gR2 Banner

OWB 9i

OWB 10gR2

5

10gR2 Banner

6

Log into Design Center

7

New Design Center Layout

Project Explorer Pane

Connection Pane

Global Explorer

Pane

Tool Bar

8

Highlight Project Area

9

Project Expands

Expand Databases

10

Available Databases

Expand Oracle

11

Logical Oracle Content Areas

Expand PeopleSoft

12

Module Components

Expand Mappings

13

Warehouse Cycle of Mappings

14

Open Satellite Mapping

15

Mapping We Plan to End Up With

16

Mapping Flow

Key Lookup

Transformations

Target Table

Unique Key Generator

Join Tables

Source Tables

17

End Result

18

Joining Tables With 10.2

19

Join ODS and Hub Tables

JOIN OBJECT

HUB

ODS

20

Select Joiner from Palette

21

Joiner Object

22

Connect Source Fields to Joiner Object

23

Open Details to Name

24

Common Field Names given _1

25

Give Join a Name and Description

26

Build Join Conditions

Joiner Properties Palette

27

Pick Fields from Input 1 and 2

28

Creating a Key Lookup

29

Purpose of Key Lookup

• Another Way to Join to a Table

• Primary use is to provide values from Table of Values

• Use when an Equijoin may eliminate rows

30

Select Key Lookup

31

Key Lookup Wizard

32

Defaults to “key lookup”

33

Enter Meaningful Object Name

34

Enter Purpose of Lookup

35

Input and Output Step

36

Minimum: Enter Short Description

37

List of Possible Sources

List of Objects on the Mapping

38

Select the Source

Select ‘Join’ Object

39

Open Join Output Group

40

Use Scroll Bar to Find Field(s)

41

Click on Choice

42

Click Transfer Arrow

43

Business Unit Code Moved

44

Search for Table to Use for Lookup

45

Click on Selection

46

Match Sides of Equijoin

Primary or Natural Key Fields in Lookup Table Join Object Fields for Equal Join

47

What Happens With No Match?

Default Passes Nulls as Output, Or you enter default values field by field

48

About Finished

49

Summary of the Key Lookup Process

50

Key Lookup Ready to Pass Data

51

Drag and Drop Connection -1

52

Drag and Drop Connection - 2

53

Drag and Drop Connection -3

54

Validate Mapping

55

Validation Completed Successfully

56

Data Transformation

57

Use of Expressions

• “Clean” the Data, handle nulls, etc.

• Conform the Data – all CAPS, etc

• Conditional Logic – if then else

• Dig out data from strings – Substring

• Etc

58

Populate Expression

59

Expression Output

60

Edit Output Fields

61

Common Expression Transforms

• Trim off Blanks from character fields TRIM(INGRP1.CHAR_FLD_NAME)

• Select portions of fields SUBSTR(INGRP1.NUMBER_FLD_NAME,1,5)

• Handle Null Values NVL(INGRP1.FLD_NAME,’U’)

• Convert to Upper Case UPPER(INGRP1.FLD_NAME)

• Convert Characters to Numbers TO_NUMBER(INGRP1.FLD_NAME)• If … then …Else Logic

CASE Statement• Compound Expressions and Functions

62

Define Expressions

Highlight Field

63

Expression Builder Popup

Build Transform Logic

Validate Logic

Accept Expression Click OK

64

Connect Output to Next Object

Expand Target Object

65

Drag and Drop One Field at a Time

66

Drag and Drop All at Once

67

Expression Mapped to Target

68

Generating Unique Keys

69

Satellite Table Needs Unique PK

70

Sequence Near Bottom of Palette

Use Scroll Bar, Drag and Drop Sequence Object

71

Expand Sequence Generator

72

Select Next Value

73

Drag and Drop to Target Field

74

Define Output Result

75

Set Operation on Target Table

Expand Loading Type

76

Loading Alternatives

Select Upsert

77

Set Record Upsert Match

Expand Constraint for Options

78

Select Natural Key

79

Mapping is Ready to Deploy

80

Deploy and Run Mapping

81

Deploy From Control Center

Click On Tools

82

Deploy and Run Control

Select Control Center Manager

83

Configure the Running

Right Click

84

Run Configuration

Select Configure

85

Operating Mode

Select Operating Mode

86

Run in Set or Row Based Mode

Select Row Based

87

Changed None

Click Default

88

Deploy Changed

89

Generate the Mapping Script

Generating PL/SQL Script

90

Mapping Executing

Running PL/SQL Script

91

Executing the Mapping

Executing the Mapping

92

Job Completed

93

Questions?

Jim RaperData Administration Manager

City of Charlotte600 E. 4th Str

Charlotte, NC 28202704 336 8068

jraper@ci.charlotte.nc.us

Recommended