Вы находитесь на странице: 1из 29

Oracle Warehouse Builder 10g Release 2: Oracle by Example Series

Oracle Warehouse Builder 10g Release 2 is an enterprise business intelligence integration design
tool that manages the full life cycle of data and metadata for Oracle Database 10g. It provides an
easy-to-use, graphical environment to rapidly design, deploy, and manage business intelligence
systems. Oracle Warehouse Builder 10g:

Enables the extraction, transformation, and loading of data to produce quality


information in the Oracle database

Protects and leverages customer investment in the Oracle technology stack through data
and metadata integration

Oracle Warehouse Builder is used to design, build, and manage your data
warehouse, data mart, or business intelligence system. The prototype throughout
the product is that you import definitions, define target structures, validate the
structures, generate the code to implement the structures, and deploy the
structures to the target environment. After it is deployed, Warehouse Builder assists
in the daily maintenance as well as monitoring of the deployed system
Introduction to the OWB Program Group Components
You will now examine the components that constitute the OWB installation.
1. Select Start > Programs > [Oracle - OWB10gR2clientHome] > Warehouse
Builder > Administration. This displays the range of components that make up
the OWB product.

2. Examine the menu choices:


Administration

Repository
Assistant

Facility for creating and managing OWB


repositories and users

Start/Stop
Control Center
Service

Facilities for starting and stopping the OWB


Control Center

Start/Stop OWB Facilities for starting and stopping the


Browser Listener Repository Browser Listener for standalone local

browser
Design
Center

The main OWB client in which you design sources, targets, ETL
mapping and transformations

Documentati This will redirect you to Oracle Warehouse Builder documentation on


on
Oracle Technology Network
OMB Plus

The scripting tool you use to execute tcl scripts

Repository
Browser

The reporting environment for examining repository design and


control center metadata.

Back to Topic List


Logging In to the Design Center
To start the OWB Design Center, perform the following steps:
1. Select Start > Programs > [Oracle - OWBclientHome] > Warehouse Builder
> Design Center.
The Design Center Logon window appears. Enter rep_owner as username and
password. By default, Connection details option is selected.
If you cannot see Connection details option, click Show Details.
Enter host as localhost or <name of your computer>, port as 1521, and service
name as orcl or <your database service name>. Click OK.

2. The Design Center appears. The Design Center is divided into three panels: Project
Explorer, Connection Explorer, and Global Explorer.
The Project Explorer on the left side contains two projects: MY_PROJECT, an empty
project created when OWB is installed, and OWB_DEMO, a partially defined project
that you created with the setup scripts.

3. A project is a container to manage your design work. After you create a project, you
can create all the other Warehouse Builder objects.
Warehouse Builder contains wizards, object editors, property sheets, and object
finding tools that assist you in designing your business intelligence system.
In the Project Explorer panel's navigation tree, expand the OWB_DEMO project.
Various object types appear in the tree: Databases, Files, Applications, Data Profiles,
and so on.
Expand the Databases node, and you see various object types that can be included
in design of your warehouse: Oracle databases, non-Oracle databases, and
transportable modules.
Expand the Oracle node, and you see two modules predefined by the setup scripts:
SALES_WH and XSALES. Modules are logical groupings of source or target
definitions.

4. Expand the SALES_WH module. The various object types appear in the tree:
mappings, transformations, dimensions, cubes, tables, and so on. Expand some of
these nodes to see the objects that have been predefined by the setup scripts.

Introduction to the OWB Program Group Components

You will now examine the components that constitute the OWB installation.
1. Select Start > Programs > [Oracle - OWB10gR2clientHome] > Warehouse Builder > Administration. This
displays the range of components that make up the OWB product.

2. Examine the menu choices:


Administration

Repository Assistant

Facility for creating and managing OWB repositories and users

Start/Stop Control Center


Facilities for starting and stopping the OWB Control Center
Service
Start/Stop OWB Browser
Listener

Facilities for starting and stopping the Repository Browser Listener


for standalone local browser

Design Center

The main OWB client in which you design sources, targets, ETL mapping and transformations

Documentation

This will redirect you to Oracle Warehouse Builder documentation on Oracle Technology
Network

OMB Plus

The scripting tool you use to execute tcl scripts

Repository
Browser

The reporting environment for examining repository design and control center metadata.

Back to Topic List

Logging In to the Design Center

To start the OWB Design Center, perform the following steps:


1. Select Start > Programs > [Oracle - OWBclientHome] > Warehouse Builder > Design Center.
The Design Center Logon window appears. Enter rep_owner as username and password. By default, Connection
details option is selected.
If you cannot see Connection details option, click Show Details.
Enter host as localhost or <name of your computer>, port as 1521, and service name as orcl or <your database
service name>. Click OK.

2. The Design Center appears. The Design Center is divided into three panels: Project Explorer, Connection Explorer,
and Global Explorer.
The Project Explorer on the left side contains two projects: MY_PROJECT, an empty project created when OWB is
installed, and OWB_DEMO, a partially defined project that you created with the setup scripts.

3. A project is a container to manage your design work. After you create a project, you can create all the other
Warehouse Builder objects.
Warehouse Builder contains wizards, object editors, property sheets, and object finding tools that assist you in
designing your business intelligence system.
In the Project Explorer panel's navigation tree, expand the OWB_DEMO project. Various object types appear in the
tree: Databases, Files, Applications, Data Profiles, and so on.
Expand the Databases node, and you see various object types that can be included in design of your warehouse:
Oracle databases, non-Oracle databases, and transportable modules.
Expand the Oracle node, and you see two modules predefined by the setup scripts: SALES_WH and XSALES.
Modules are logical groupings of source or target definitions.

4. Expand the SALES_WH module. The various object types appear in the tree: mappings, transformations, dimensions,
cubes, tables, and so on. Expand some of these nodes to see the objects that have been predefined by the setup
scripts.

Importing Metadata in DQ_SRC Module

To import metadata in DQ_SRC module, perform the following steps:


1. First you need to create the DQ_SRC module, before you can import metadata into it.
Assuming that you logged in as owb user, in the Project Explorer panel, select the HANDSON
project, expand Databases. Right-click Oracle and select New.

The Create Module wizard launches. Click Next to skip the Welcome page.

2.

In the Name and Description page, enter DQ_SRC as the name of the module. Accept Development as the module
status and select Data Source as the module type.

Click Next.

3.

In Connection Information page, you specify the location specifications of the source data. Observe that Warehouse
Builder gives a default name, DQ_SRC_LOCATION1, to the location. Click Edit to specify the details.

4.

The Edit Oracle Database Location dialog appears. Provide the following information to create a fully qualified
location:
Name: DQ_SRC_LOCATION (remove the 1 from the default name)
User Name: DQ_SRC
Password: DQ_SRC
Host Name: localhost
Port Number: 1521
Service Name: orcl
Schema: DQ_SRC
Version: 10.2 <or 11.1, depending on your source database version>
Click Test Connection to test the connection.

If the connection is not successful, check the connection details. Otherwise, click OK.
Ensure that the "Import after finish" option is checked. Click Next.

In the summary page, examine the details and click Finish. The Import Metadata Wizard launches. Click Next on the
Welcome page.

5.

In the Filter Information page, you select the object types you want to import. Uncheck all
boxes, except Table and View and click Next.

6.

In the Object Selection page, hold shift and select Tables and Views, and click > to move all the tables to the
Selected Objects list.

Click Next.

7.

In Summary and Import page, examine the import details. Eleven objects should be listed, the
order of which is not important. Click Finish.

The Import Progress dialog shows the import progress. Click OK on the Import Results window.
From Design menu, select Save All. In Warehouse Builder warning dialog box , click Yes to
save your work.

Back to Topic
Importing Metadata in OE Module

To import metadata in OE module, perform the following steps:


1.

First you create the OE module, before you can import metadata into it.
Assuming that you logged in as OWB user, in the Project Explorer panel, select the HANDSON
project, expand Databases node. Right-click Oracle and select New.

The Create Module wizard launches. Click Next to skip the Welcome page.

2.

In the Name and Description page, enter OE as the name of the module. Accept Development as the module status
and select Data Source as the module type.

Click Next.

3.

In Connection Information page, you specify the location specifications of the source data. Observe that Warehouse
Builder gives a default name,OE_LOCATION1, to the location. Click Edit to specify the details.

4.

The Edit Oracle Database Location dialog appears. Provide the following information to create a fully qualified
location:
Name: OE_LOCATION (remove the 1 from the default name)
User Name: OE
Password: OE
Host Name: localhost
Port Number: 1521
Service Name: orcl
Schema: OE
Version: 10.2
Click Test Connection to test the connection.

If the connection is not successful, check the connection details. Otherwise, click OK.
Ensure that the "Import after finish" option is checked. Click Next.

In the summary page, examine the details and click Finish. The Import Metadata Wizard launches. Click Next on the
Welcome page.

5.

In the Filter Information page, you select the object types you want to import. Accept the default
selection. Click Next.

6.

In the Object Selection page, select Tables and click > to move all the tables to the Selected Objects list.

Click Next.

7.

In Summary and Import page, examine the import details and click Finish.

The Import Progress dialog shows the import progress. Click OK on the Import Results window.
From Design menu, select Save All .In Warehouse Builder warning dialog box , click Yes to
save the changes.

Вам также может понравиться