owb-ws_sep_2010

Upload: retcal

Post on 04-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 OWB-WS_Sep_2010

    1/52

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

    OWB

  • 8/13/2019 OWB-WS_Sep_2010

    2/52

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

    What Is Oracle Warehouse Builder?

    Oracle Warehouse Builder (OWB) is a comprehensivedata 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)

  • 8/13/2019 OWB-WS_Sep_2010

    3/52

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

    Validate, generate, and

    deploy the code.Derive and deployBI reportinginfrastructure.

    Extract source metadata: Relational databases (Oracle,

    Non-Oracle)

    Flat files

    Mainframe (COBOL Copybooks)

    Applications

    XML

    Map source to targetwith transformations.

    Design targetobject metadata.

    Basic Process Flow of Design and Deployment

    1

    3

    4

    5

    6

    2

    Extract, transform,and load data.

    Sources

    Target

    warehouse and

    data marts

    OWB

    Workspace

    OWB

    client

  • 8/13/2019 OWB-WS_Sep_2010

    4/52

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

    Full Support for SOA

    Warehouse Builder fully supportsservice-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 "Append ix C: Service-

    Oriented A rchi tectures"in Part 2 of the course.

  • 8/13/2019 OWB-WS_Sep_2010

    5/52

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

    Installing Oracle Warehouse Builder 11.2

    Oracle Database 11gincludes the completeinstallation 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 guidefor details.

  • 8/13/2019 OWB-WS_Sep_2010

    6/52

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

    Simpler OWB 11.2 Installation

    Server installation Stand-alone installation

    OWB 11g

    stand-alone

    Stand-alone installation withDB 10gR2 or 11gR1

    Special

    scripts

    DB home

    OWB 11g

    server

    Workflow

    installation

    files

    OWBSYS

    preseeded

    SYSDBA-free

    setup

    DB home

    Workflow

    installation

    files

    OWBSYS

    preseeded

    SYSDBA-freesetup

    (Requires a few extra steps)

    OWB 11g

    stand-alone

    OWB Home

  • 8/13/2019 OWB-WS_Sep_2010

    7/52Copyright 2009, Oracle. All rights reserved.1 - 8

    OWBSYSSchema

    Stores all the OWB repositoryobjects

    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 usingthe OWBSYSaccount directly.

    Needs to be unlocked before

    any workspace is created

    OWBSYS(UnifiedRepository)

    Single copy of OWB

    database objects

    Necessary grants on roles,

    system and object privileges

    El iminates th e need for

    DBA /SYSDBA credentials to define a

    wo rkspace reposi tory!

  • 8/13/2019 OWB-WS_Sep_2010

    8/52Copyright 2009, Oracle. All rights reserved.1 - 9

    OWB 11.2 Server Installation

    DB home

    OWB 11g

    server

    Workflow

    installation

    files

    OWBSYS

    preseeded

    SYSDBA-free

    setup

    The directory structure looks like

    this:

    [ORACLE_HOME]/owb

    [ORACLE_HOME]/owb/wf

  • 8/13/2019 OWB-WS_Sep_2010

    9/52Copyright 2009, Oracle. All rights reserved.1 - 10

    OWB 11.2 Stand-Alone Installation

    DB home

    Workflow

    installation

    files

    OWBSYS

    preseeded

    SYSDBA-free

    setup

    Reasons for stand-alone installation: To use the Design Client on a

    developers computer

    To deploy to Oracle Database 10g

    R2 or 11gR1 with OWB repository

    hosted on it

    To run Control Center Agent on a

    client

    OWB Home

    OWB 11g

    stand alone

  • 8/13/2019 OWB-WS_Sep_2010

    10/52Copyright 2009, Oracle. All rights reserved.1 - 11

    Unlock OWBSYSand OWBSYS_AUDIT

    Run the following SQL commands: alter user OWBSYS identified by

    account unlock;

    alter user OWBSYS_AUDIT identified by

    account unlock;

  • 8/13/2019 OWB-WS_Sep_2010

    11/52Copyright 2009, Oracle. All rights reserved.1 - 12

    Warehouse Builder Workspace

    To define and work with your data and metadata and touse the repository, you must create a workspace.

    Use the Repository Assistant.

    Workspace is owned by a workspace owner.

    Control Center Service

    OWBWorkspace #1

    OWBWorkspace #2

    Repository

    (OWBSYSschema)

    Oracle Database instance

    Many

    workspace usersOne workspace owner

  • 8/13/2019 OWB-WS_Sep_2010

    12/52Copyright 2009, Oracle. All rights reserved.1 - 13

    Workspace Installation

    Highly privileged

    workspace owner

    Use the Repository Assistant tocreate 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)

  • 8/13/2019 OWB-WS_Sep_2010

    13/52Copyright 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 privilegesmanagement

    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

    WorkspaceUsers

  • 8/13/2019 OWB-WS_Sep_2010

    14/52Copyright 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/bator

    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)

  • 8/13/2019 OWB-WS_Sep_2010

    15/52Copyright 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 JobScheduler

    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

    OptionalComponent

    Oracle Workflow 2.6.4 (included in the database installation in

    the [ORACLE HOME]/owb/wf folder)

    Supported Versions

  • 8/13/2019 OWB-WS_Sep_2010

    16/52Copyright 2009, Oracle. All rights reserved.1 - 17

    Simplified Installation of Oracle Workflow

    DB 11g OWB 11gstand 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 11genvironment In a DB 10genvironment

    OWB 11g

    server install

    To start the installation and configuration on Linux:

    Runwfinstall.cshlocated in the [ORACLE_HOME]/owb/wf/install

    directory.

  • 8/13/2019 OWB-WS_Sep_2010

    17/52Copyright 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

    http://www.oracle.com/technology/products/warehouse/index.htmlhttp://www.oracle.com/technology/products/warehouse/index.htmlhttp://www.oracle.com/technology/products/warehouse/index.htmlhttp://www.oracle.com/technology/products/warehouse/index.html
  • 8/13/2019 OWB-WS_Sep_2010

    18/52Copyright 2009, Oracle. All rights reserved.1 - 19

    Installation OWB

  • 8/13/2019 OWB-WS_Sep_2010

    19/52Copyright 2009, Oracle. All rights reserved.1 - 20

    Di Installation in einzelnen Schritten

  • 8/13/2019 OWB-WS_Sep_2010

    20/52Copyright 2009, Oracle. All rights reserved.1 - 21

  • 8/13/2019 OWB-WS_Sep_2010

    21/52Copyright 2009, Oracle. All rights reserved.1 - 22

  • 8/13/2019 OWB-WS_Sep_2010

    22/52Copyright 2009, Oracle. All rights reserved.1 - 23

  • 8/13/2019 OWB-WS_Sep_2010

    23/52Copyright 2009, Oracle. All rights reserved.1 - 24

  • 8/13/2019 OWB-WS_Sep_2010

    24/52Copyright 2009, Oracle. All rights reserved.1 - 25

  • 8/13/2019 OWB-WS_Sep_2010

    25/52Copyright 2009, Oracle. All rights reserved.1 - 26

  • 8/13/2019 OWB-WS_Sep_2010

    26/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    27/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    28/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    29/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    30/52

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

    Alter user owbsys identified by owbsys;

    In SQLPLUS den User owbsys freischalten

  • 8/13/2019 OWB-WS_Sep_2010

    31/52

  • 8/13/2019 OWB-WS_Sep_2010

    32/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    33/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    34/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    35/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    36/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    37/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    38/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    39/52

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

    Globale Einstellungen

    i B S it

    Locations: sie

    sind die Verbindung

    Project -Navigator: hier

    orientiert man sich und

  • 8/13/2019 OWB-WS_Sep_2010

    40/52

    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-FlcheHier erscheinen spter unterschiedliche

    Editoren

    Property InspectorHier lassen sich Kontext-abhngig

    Einstellungen der jeweiligen

    Objekte in den einzelnen Editoren

    vornehmen

    Log-BereichJetzt noch nicht sichtbar erscheinen

    hier spter Log-Fenster zu Aktionen,

    die im Hintergrund ausgefhrt werden

    wie z. B. Securitysind die Verbindung

    zur Umwelt

    orientiert man sich und

    selektiert Objekte zum

    bearbeiten

  • 8/13/2019 OWB-WS_Sep_2010

    41/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    42/52

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

    Zooming

    Projekt-Tree

    Drag +Drop

    Komponenten-Auswahl

    Eigenschaften

    Springen in

    Untermappings

    Gruppieren

    von ObjektenAuto

    Layout

    Deploy

    + Start

    Statusmeldungen

    bzw. Datensicht

    Blick auf das

    Gesamtmapping

    Debugger

    Menu

    Aktives Fenster

    Struktur des

    Mappings

    2

    3

    4

    5

    6

    1 7

    Editor-Flche

  • 8/13/2019 OWB-WS_Sep_2010

    43/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    44/52

    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

    LookupTabellen einlesen

    Fuzzy-Match, String-Abgleich

    Adress-Daten-Bereinigung

    Pivotieren von Stzen + Spalten

    Union / Set / Minus

    Order By

    Multiple Inserts

    Erstellen von Table Functions

    PL/SQL Functions

    Pivotieren von Stzen + Spalten

  • 8/13/2019 OWB-WS_Sep_2010

    45/52

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

    Aufrufen des Browsers

  • 8/13/2019 OWB-WS_Sep_2010

    46/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    47/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    48/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    49/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    50/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    51/52

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

  • 8/13/2019 OWB-WS_Sep_2010

    52/52