Book Image

Oracle Warehouse Builder 11g R2: Getting Started 2011

Book Image

Oracle Warehouse Builder 11g R2: Getting Started 2011

Overview of this book

In today's economy, businesses and IT professionals cannot afford to lag behind the latest technologies. Data warehousing is a critical area to the success of many enterprises, and Oracle Warehouse Builder is a powerful tool for building data warehouses. It comes free with the latest version of the Oracle database.Written in an accessible, informative, and focused manner, this book will teach you to use Oracle Warehouse Builder to build your data warehouse. Covering warehouse design, the import of source data, the ETL cycle and more, this book will have you up and running in next to no time.This book will walk you through the complete process of planning, building, and deploying a data warehouse using Oracle Warehouse Builder. By the book's end, you will have built your own data warehouse from scratch.Starting with the installation of the Oracle Database and Warehouse Builder software, this book then covers the analysis of source data, designing a data warehouse, and extracting, transforming, and loading data from the source system into the data warehouse. You'll follow the whole process with detailed screenshots of key steps along the way that have all been updated for the new Fusion Client Platform interface in 11gR2, alongside numerous tips and hints not covered by the official documentation. You’ll finish up with a brand new chapter on code templates where you’ll implement a complete mapping using JDBC connectivity and code template mappings.
Table of Contents (17 chapters)
Oracle Warehouse Builder 11gR2: Getting Started 2011
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

PRODUCT mapping


The mapping for the PRODUCT dimension will be similar to the STORE mapping, so we won't cover it in as much detail here. We'll open the Design Center if it's not already open and create a new mapping just as we did for the STORE mapping earlier and the STAGE_MAP mapping from the last chapter. We'll name this mapping PRODUCT_MAP.

The source for the data will again be our staging table, POS_TRANS_STAGE, just as it was for the STORE mapping. Only the target will change as we're loading the PRODUCT dimension this time. We'll drag the POS_TRANS_STAGE table from the Projects window and drop it on the left of the mapping, and drag the PRODUCT dimension from ACME_DWH | Dimensions and drop it to the right of the mapping. Not surprisingly, the data elements we'll now need from the staging table are the attributes that begin with PRODUCT. We created our PRODUCT dimension with four levels—DEPARTMENT, CATEGORY, BRAND, and ITEM—which we will need to populate. Let's start with the ITEM level...