Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

52
Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB

Transcript of Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Page 1: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 1

OWB

Page 2: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 2

What Is Oracle Warehouse Builder?

• Oracle Warehouse Builder (OWB) is a comprehensive data integration, data warehousing, data quality, and metadata management solution designed for the Oracle database.

• OWB is an integral part of Oracle Database and is installed as part of every database installation (except Oracle Database XE)

Page 3: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 3

Validate, generate, and deploy the code.

Derive and deploy BI reportinginfrastructure.

Extract source metadata: Relational databases (Oracle,

Non-Oracle) Flat files Mainframe (COBOL Copybooks) Applications XML

Map source to targetwith transformations.

Design target object metadata.

Basic Process Flow of Design and Deployment

1

3

4

5

6

2

Extract, transform, and load data.

SourcesTarget

warehouse and data marts

OWB

Workspace

OWB

client

Page 4: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 5

Full Support for SOA

• Warehouse Builder fully supports service-oriented architectures for data integration.

• OWB 11.2 can be used to:– Publish a Web service– Consume an existing Web service

• The new Application Server module is introduced to support Web services.

– Two types of Application Server modules: Public and Private

For more information, refer to the "Appendix C: Service-Oriented Architectures" in Part 2 of the course.

Page 5: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 6

Installing Oracle Warehouse Builder 11.2

• Oracle Database 11g includes the complete installation of OWB.

• OWB In-Database functionality is licensed with the Oracle Database while other functionality requires additional licensing.

• Oracle Database hosts the OWB repository and serves as the transformation engine.

• Refer to the Oracle Warehouse Builder Installation and Administration guide for details.

Page 6: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 7

Simpler OWB 11.2 Installation

Server installation Stand-alone installation

OWB 11gstand-alone

Stand-alone installation with DB 10g R2 or 11g R1

Special scripts

DB home

OWB 11gserver

Workflow installation

files

OWBSYSpreseeded

SYSDBA-freesetup

DB home

Workflow installation

files

OWBSYSpreseeded

SYSDBA-freesetup

(Requires a few extra steps)

OWB 11gstand-alone

OWB Home

Page 7: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 8

OWBSYS Schema

• Stores all the OWB repository objects

• Is created as part of every Oracle Database installation

• Is registered as an OWB user – Administrators and

developers generally register other database users and assign them required privileges, rather than using the OWBSYS account directly.

• Needs to be unlocked before any workspace is created

OWBSYS (Unified Repository)

• Single copy of OWB database objects

• Necessary grants on roles, system and object privileges

Eliminates the need for DBA/SYSDBA credentials to define a workspace repository!

Page 8: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 9

OWB 11.2 Server Installation

DB home

OWB 11gserver

Workflow installation

files

OWBSYSpreseeded

SYSDBA-freesetup

The directory structure looks like this:•[ORACLE_HOME]/owb•[ORACLE_HOME]/owb/wf

Page 9: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 10

OWB 11.2 Stand-Alone Installation

DB home

Workflow installation

files

OWBSYSpreseeded

SYSDBA-freesetup

Reasons for stand-alone installation:

• To use the Design Client on a developer’s computer

• To deploy to Oracle Database 10g R2 or 11g R1 with OWB repository hosted on it

• To run Control Center Agent on a client

OWB Home

OWB 11gstand alone

Page 10: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 11

Unlock OWBSYS and OWBSYS_AUDIT

• Run the following SQL commands:– alter user OWBSYS identified by <password>

account unlock; – alter user OWBSYS_AUDIT identified by

<password> account unlock;

Page 11: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 12

Warehouse Builder Workspace

• To define and work with your data and metadata and to use the repository, you must create a workspace.– Use the Repository Assistant.

• Workspace is owned by a workspace owner.Control Center Service

OWB Workspace #1

OWB Workspace #2

Repository(OWBSYS schema)

Oracle Database instance

Manyworkspace users

One workspace owner

Page 12: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 13

Workspace Installation

Highly privileged workspace owner

Use the Repository Assistant to create a workspace, its owner, and its users.

- Audit tables- Run-time and deployment statistics- Physical location info

Users associated with one workspace

Workspace users’ possible job functions - Metadata design- Deploying code- Executing code- Possible target schema

Workspace users(schemas with usernames

in the database)

Workspace owner(schema with username

in the database)

Page 13: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 14

Workspace Owners and Users: Job Functions

The workspace owner can define an intermediate “DBA” role. Users can then be assigned this role, allowing them to perform limited administrative tasks without the privileges of the workspace owner.

YesNoSecurity, users, and role privileges management

YesYesEnabled as target schema

YesNoAdministrative tasks (access to run-time/deployment statistics, physical location information, audit details)

Deploy and execute code

Design metadata (using Design Center)

Job Functions

YesYes

Yes

WorkspaceOwner

Yes

Workspace Users

Page 14: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 15

OWB Product Components

• Design Center (owbclient.sh/bat)

• Repository Assistant (reposinst.sh/bat)

• OMB*Plus scripting client (OMBPlus.sh/bat)

• Start/stop Repository Browser OC4J Server ([startOwbInst.sh/bat/][stopOwbInst.sh/bat])

• Start Repository Browser (openRAB.sh/bat or openDB.sh/bat)

• Start stand-alone Control Center Service (run_service.sh/bat)

• Start/stop Control Center Agent ([ccastart.sh/bat]/[ccashut.sh/bat])

• Control Center Agent Administration (cca_admin.sh/bat)

Page 15: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 16

Installing Optional Components

• Oracle has a built-in DBMS Scheduler that can be used to deploy Warehouse Builder schedules or to create new scheduled jobs.

Oracle Job Scheduler

• Oracle Business Intelligence Enterprise Edition (OBI EE) • Oracle Business Intelligence Standard Edition (OBI SE)

Business Intelligence (BI) tools

• You need the following from one of the certified vendors listed on Oracle Technology Network:

– Regional data libraries– Name and address adapter software

Third-Party Name and Address Data

Oracle Workflow

Optional Component

• Oracle Workflow 2.6.4 (included in the database installation in the [ORACLE HOME]/owb/wf folder)

Supported Versions

Page 16: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 17

Simplified Installation of Oracle Workflow

DB 11g OWB 11g stand alone

+

DB 10g R2

Workflow installation files in [ORACLE_HOME]/owb/wf/install (contains a version of WF 2.6.4 with changes for 11g)

Workflow install files in [OWB_HOME]/owb/wf/install

In Database 11g environment In a DB 10g environment

OWB 11gserver install

To start the installation and configuration on Linux:

Run wfinstall.csh located in the [ORACLE_HOME]/owb/wf/install directory.

Page 17: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 18

Oracle Warehouse Builder Documentation and Resources

• Oracle Warehouse Builder on OTN– http://www.oracle.com/technology/products/warehouse/index

.html

• Reference Guides: – Oracle Warehouse Builder Installation and Administration

Guide – Oracle Warehouse Builder Concepts – Oracle Warehouse Builder Sources and Targets Guide – Oracle Warehouse Builder ETL and Data Quality Guide

• Oracle Warehouse Builder Release Notes

Page 18: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 19

Installation OWB

Page 19: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 20

Di Installation in einzelnen Schritten

Page 20: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 21

Page 21: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 22

Page 22: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 23

Page 23: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 24

Page 24: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 25

Page 25: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 26

Page 26: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 27

Page 27: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 28

Page 28: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 29

Page 29: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 30

Page 30: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 31

Alter user owbsys identified by owbsys;

In SQLPLUS den User owbsys freischalten

Page 31: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 32

Page 32: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 33

Page 33: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 34

Page 34: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 35

Page 35: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 36

Page 36: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 37

Page 37: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 38

Page 38: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 39

Page 39: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 40

Page 40: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 41

Projekt-TreeHier orientiert man sich

Birds-ViewNur im Mapping-Editor interessant

OMBPlus EditorNur im Mapping-Editor interessant

Editor-FlächeHier erscheinen später unterschiedliche

Editoren

Property InspectorHier lassen sich Kontext-abhängig

Einstellungen der jeweiligenObjekte in den einzelnen Editoren

vornehmen

Log-BereichJetzt noch nicht sichtbar erscheinen hier später Log-Fenster zu Aktionen,die im Hintergrund ausgeführt werden

Globale Einstellungen wie z. B. Security

Locations: siesind die Verbindungzur Umwelt

Project -Navigator: hierorientiert man sich undselektiert Objekte zumbearbeiten

Page 41: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 42

Page 42: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 43

Zooming

Projekt-Tree

Drag +Drop

Komponenten-Auswahl

Eigenschaften

Springen inUntermappings

Gruppieren von Objekten

AutoLayout

Deploy+ Start

Statusmeldungen

bzw. Datensicht

Blick auf dasGesamtmapping

Drag + Drop

DebuggerMenu

Aktives Fenster

Struktur desMappings

2

3

4

5

6

1 7

Editor-Fläche

Page 43: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 44

Page 44: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 45

Aggregation (z. B. Sum/Group By)

Umwandeln von Object Types

Distinct Option

Expressions (z. B. 3+4)

Filter (Where - Klausel)

Join-Bedingung

Lookup – Tabellen einlesen

Fuzzy-Match, String-Abgleich

Adress-Daten-Bereinigung

Pivotieren von Sätzen + Spalten

Union / Set / Minus

Order By

Multiple Inserts

Erstellen von Table Functions

PL/SQL Functions

Pivotieren von Sätzen + Spalten

Page 45: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 46

Aufrufen des Browsers

Page 46: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 47

Page 47: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 48

Page 48: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 49

Page 49: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 50

Page 50: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 51

Page 51: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 52

Page 52: Copyright © 2009, Oracle. All rights reserved. 1 - 1 OWB.

Copyright © 2009, Oracle. All rights reserved.1 - 53