Download presentation
Presentation is loading. Please wait.
Published byJuniper Gaines Modified over 8 years ago
1
Copyright © 2006, Oracle. All rights reserved. Czinkóczki László oktató laszlo.czinkoczki@oracle.com 2008.04.17 Using the Oracle Warehouse Builder
2
1-2 Copyright © 2006, Oracle. All rights reserved. Data Warehouse Versus Transactional Systems A data warehouse is an enterprisewide database that is: Multisubject oriented Integrated across subjects on an enterprise base Time variant Nonvolatile Historical Capable of handling unpredictable workloads
3
1-3 Copyright © 2006, Oracle. All rights reserved. Dimensional Data Model with Relational Data Types PRODUCT prod A prod B prod C prod D prod E SALES Prod Cust Time CUST cust A cust B cust C cust D cust E TIME Year Quarter Month Week Day Dimensional concepts Dimension Hierarchy Level Attribute Dimension table Dimension table Dimension table
4
1-4 Copyright © 2006, Oracle. All rights reserved. Sales dimensioned by product, customer, and time SALES cube ProductCustomer Time Multidimensional Data Types Data is stored in multidimensional cubes in the analytic workspace. Analytical workspace is stored in BLOB column of relational table
5
1-5 Copyright © 2006, Oracle. All rights reserved. What Is Oracle Warehouse Builder? Oracle Warehouse Builder (OWB) is an extensible framework for designing, deploying, and managing enterprise data warehouses, data marts, and e-business intelligence applications.
6
1-6 Copyright © 2006, Oracle. All rights reserved. Producing Quality Information Warehouse Builder enables the Extraction, Transformation, and Loading of data to produce quality information in the Oracle database. DataInformationKnowledge Transformation Business intelligence Action (Quality information)
7
1-7 Copyright © 2006, Oracle. All rights reserved. BI Environment from an OWB Perspective Model, extract, transform, load, and manage BI data Create analytic content Share Business Intelligence Reports BI Beans Disco Plus Spread- sheet add-in Portal page Disco Viewer BI Beans application Relational Flat files Applications Mainframe SAP Sources Tools using BI data Relational Multi- dimensional (OLAP) OWB repository and/or Oracle database OWB
8
1-8 Copyright © 2006, Oracle. All rights reserved. OWB 10g R2 Default Installation with a Single Repository Repository user Repository owner Highly privileged database user Create database objects: - Tables - Dimensions, cubes - Mappings - Packages, … Target schemas Repository users Repository owner Target users Created by the OWB Repository Assistant or Logon dialog box’s Get Started button Can be a single repository Created by the repository owner - Audit tables - Run-time and deployment statistics - Physical location info - Design metadata - Possible target
9
1-9 Copyright © 2006, Oracle. All rights reserved. Projects A project is the highest-level object in Warehouse Builder. It is best to create projects after identifying the functional areas for the projects. Source module Mapping Transformations Mapping Transformations Warehouse module Project A Project B Warehouse module Staging Operational data sources Data Mart
10
1-10 Copyright © 2006, Oracle. All rights reserved. Design Center Toolbar Menus Connection explorer Global explorer Project explorer Project explorer: Holds all information related to a single project Connection explorer: Holds all connections and control centers for the repository Global explorer: Holds all objects that are shared among users of the repository; this is a great place to share reusable components across projects
11
1-11 Copyright © 2006, Oracle. All rights reserved. Objects Within a Project Oracle modules
12
1-12 Copyright © 2006, Oracle. All rights reserved. Objects Within a Project Files Applications
13
1-13 Copyright © 2006, Oracle. All rights reserved. Objects Within a Module Tables Dimensions Cubes Module node expanded to show its objects
14
1-14 Copyright © 2006, Oracle. All rights reserved. Objects Within a Module Data auditors Transformations Mappings
15
1-15 Copyright © 2006, Oracle. All rights reserved. Process Flow of Design and Deployment Design target object metadata. 1 Relational databases Flat files Applications Mainframe SAP Map source to target with transformations. 3 Oracle 8 i /9 i /10g OLAP Flat files BI tools Non-Oracle databases via gateways Validate, generate, and deploy the code. 4 5 OWB repository OWB client Target warehouse and data marts Sources Derive and deploy BI reporting infrastructure. Extract and transform data. 6 7 Capture knowledge using “experts.” Define A. Define B. Map A to B. Extract source metadata: 2
16
1-16 Copyright © 2006, Oracle. All rights reserved. Multiple Named Configurations: Preview Physical configuration Development - No logging - Nonparallel - Tablespace DEV_DATA - Table EMP Location - No logging - Parallel - Tablespace PROD_DATA - Table EMP Location Logical design Named configurations for multiple deployments No need to write scripts to change tablespace names, and so on (Multiple named configurations and locations covered in the Part 2 course) Physical configuration Production
17
1-17 Copyright © 2006, Oracle. All rights reserved. The ETL processes Extract Operational External Flat files Server log files E Transform/Load TL Staging areas Transformations Enterprise model (atomic data) PublishSubscribe Portal Access layers Metadata repository Dependent data marts RDBMS B2C B2B TL
18
1-18 Copyright © 2006, Oracle. All rights reserved. OMB*Plus tcl Scripting Within Design Client You can run OMB*Plus tcl scripts to perform any function available in the Design Center graphical interface. (For example, create, modify, delete, import, or examine your OWB metadata.)
19
1-19 Copyright © 2006, Oracle. All rights reserved. Creating a Project
20
1-20 Copyright © 2006, Oracle. All rights reserved. Creating an Oracle Source Module
21
1-21 Copyright © 2006, Oracle. All rights reserved. Create Module Wizard: Connection Information
22
1-22 Copyright © 2006, Oracle. All rights reserved. Editing the Oracle Database Location
23
1-23 Copyright © 2006, Oracle. All rights reserved. Import Metadata Wizard: Filter Information
24
1-24 Copyright © 2006, Oracle. All rights reserved. Selecting the Tables for Import
25
1-25 Copyright © 2006, Oracle. All rights reserved. Viewing Data Using the Data Viewer
26
1-26 Copyright © 2006, Oracle. All rights reserved. OWB Mapping Extract, transform, and load (ETL) involves the movement and transformation of data from your sources to your targets. Use OWB mappings to specify which source data objects provide data to which target data objects. Mapping definitions reside in target modules. Use OWB mappings to specify which source data objects provide data to which target data objects. Relational or flat file module Table Warehouse or data mart module Column Map
27
1-27 Copyright © 2006, Oracle. All rights reserved. Creating the Warehouse Target Module
28
1-28 Copyright © 2006, Oracle. All rights reserved. Designing the LOAD_STG_GEOG Mapping
29
1-29 Copyright © 2006, Oracle. All rights reserved. Drag the table operator onto the canvas. Creating a Staging Table
30
1-30 Copyright © 2006, Oracle. All rights reserved. Adding an Attribute New attribute
31
1-31 Copyright © 2006, Oracle. All rights reserved. Using a Filter Operator 1 2 3
32
1-32 Copyright © 2006, Oracle. All rights reserved. Using the Expression Builder to Define a Filter Condition
33
1-33 Copyright © 2006, Oracle. All rights reserved. Using a Joiner
34
1-34 Copyright © 2006, Oracle. All rights reserved. Set Operation Operator
35
1-35 Copyright © 2006, Oracle. All rights reserved. Using the Create and Bind Option to Create the Repository Table
36
1-36 Copyright © 2006, Oracle. All rights reserved. Synchronizing Operators and Repository Objects Mapping operator Synchronize from an operator to a repository object. Synchronize from a repository object to an operator.
37
1-37 Copyright © 2006, Oracle. All rights reserved. Validating the Mapping
38
1-38 Copyright © 2006, Oracle. All rights reserved. Generating the Mapping
39
1-39 Copyright © 2006, Oracle. All rights reserved. Deploying a Mapping Before you deploy a mapping, you must perform the following steps: 1.Deploy the source object used in the mapping. 2.Deploy the target object used in the mapping. 3.Deploy the mapping. 1 2 3
40
1-40 Copyright © 2006, Oracle. All rights reserved. Executing a Mapping
41
1-41 Copyright © 2006, Oracle. All rights reserved. Viewing the Data Using Data Viewer The result of your work!
42
1-42 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model Classifying the Data DescriptorsTime Dimensions Metrics Cubes
43
1-43 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.
44
1-44 Copyright © 2006, Oracle. All rights reserved. Determining Granularity Year? Quarter? Month? Week? Day?
45
1-45 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
46
1-46 Copyright © 2006, Oracle. All rights reserved. Creating a Dimension Using the Wizard
47
1-47 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Storage Type
48
1-48 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Dimension Attributes
49
1-49 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.
50
1-50 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.
51
1-51 Copyright © 2006, Oracle. All rights reserved. Create Dimension Wizard: Data Policy
52
1-52 Copyright © 2006, Oracle. All rights reserved. Dimension Details: Data Viewer Tab
53
1-53 Copyright © 2006, Oracle. All rights reserved. Creating the Time Dimension with the Time Wizard
54
1-54 Copyright © 2006, Oracle. All rights reserved. Create Time Dimension Wizard: Levels
55
1-55 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
56
1-56 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Storage Type
57
1-57 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Dimensions
58
1-58 Copyright © 2006, Oracle. All rights reserved. Create Cube Wizard: Measures
59
1-59 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
60
1-60 Copyright © 2006, Oracle. All rights reserved. Using the Cube Data Viewer
61
Copyright © 2006, Oracle. All rights reserved. Köszönöm a figyelmet!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.