Oracle Warehouse Builder 11gR2: Getting Started 2011 Extract, Transform, and Load data to operational data warehouse build a dynamic, Bob Griesemer 1 enterprise 88 orotessionol expertise distilled PUBLISHING - BIRMINGHAM MUMBAI
Preface 1 Chapter 1: An Introduction to Oracle Warehouse Builder 7 Introduction to data warehousing 8 Introduction to our fictional organization 8 What is a data warehouse? 9 Where does OWB fit in? 11 Installation of the database and OWB 11 Downloading the Oracle software 11 A word about hardware and operating systems 12 Installing Oracle database software 14 Configuring the listener 18 Creating the database 20 Installing the OWB standalone software 27 OWB components and architecture 31 Configuring the repository and workspaces 34 Summary 41 Chapter 2: Defining and Importing Source Data Structures 43 Preliminary analysis 44 ACME Toys and Gizmos source data 45 The POS transactional source database 46 The website order management database 49 An overview of Warehouse Builder Design Center 51 Importing/defining source database object metadata 55 Creating a project 55 Creating a module 56 Creating an Oracle Database module 56 Creating a SQL Server database module 62
Importing source database objects from a database 78 Defining source metadata manually with the Table Editor 86 Importing source metadata from files 92 Summary 104 Chapter 3: Designing the Target Structure 105 Data warehouse design 106 Dimensional design 106 Cube and dimensions 107 Implementation of a dimensional model in a database 109 Relational implementation (star schema) 109 Multidimensional implementation (OLAP) 112 Designing the ACME data warehouse 113 Identifying the dimensions 113 Designing the cube 114 Data warehouse design in OWB 117 Creating a target user and module 117 Creating a target user 118 Create a target module 122 OWB design objects 124 Summary 127 Chapter 4: Creating the Target Structure in OWB 129 Creating dimensions in OWB 130 The Time dimension 130 Creating a Time dimension with the Time Dimension Wizard 132 The Product dimension 141 Product attributes (attribute type) 141 Product levels 142 Product hierarchy (highest to lowest) 142 Creating the Product dimension with the new Dimension Wizard 143 The Store dimension 150 Store attributes (attribute type), data type and size, and (Identifier) 151 Store levels 151 Store hierarchy (highest to lowest) 151 Creating the Store dimension with the New Dimension Wizard 151 Creating a cube in OWB 154 Creating a cube with the wizard 154 Using the data object editors 158 Summary 166 Chapter 5: Extract, Transform, and Load Basics 167 ETL 168 Manual ETL processes 168 Staging 169
To stage or not to stage 170 Configuration of a staging area 171 Mappings and operators in OWB 172 OWB Mappings 173 The canvas layout 178 OWB operators 181 Source and target operators 183 Transformations (data flow operators) 186 Other operators 189 Summary 190 Chapter 6: ETL: Putting it Together 191 Designing our staging area 192 Designing the staging area contents 192 Building the staging area table with the Table Editor 194 Review of the Mapping Editor 201 Creating a mapping 202 Adding source tables 203 Adding a target table 208 Connecting source to target 208 Joiner operator attribute groups 209 Connecting operators to the Joiner 212 Defining operator properties for the JOINER 214 Adding an Aggregator operator 219 Summary 228 Chapter 7: ETL: Transformations and Other Operators 229 STORE mapping 231 Adding source and target operators 231 Adding Transformation Operators 234 Using a Lookup operator 245 Creating an external table 245 Creating and loading a lookup table 247 Retrieving the key to use for a Lookup operator 250 Adding a SUBSTR Transformation operator 251 Adding a Constant operator 253 Adding a TO_NUMBER transformation 255 Adding a Lookup operator 256 PRODUCT mapping 263 SALES cube mapping 265 Dimension attributes in the cube 266 Measures and other attributes in the cube 269 Mapping values to cube attributes 269 Mapping measures' values to a cube 269 Mapping PRODUCT and STORE dimension values to the cube 270
Mapping DATE_DIM values to the cube 271 Mapping an Expression operator 272 Features and benefits of OWB 276 Summary 277 Chapter 8: Validating, Generating, Deploying, and Executing Objects 279 Validating 281 Validating in the Design Center 281 Validating using the toolbar icon in the Mapping Editor 283 Generating 285 Generating in the Design Center 286 Generating using the icon from the mapping editor 290 Default operating mode of the mapping 292 Selecting the generation style 295 Deploying 296 The Control Center Service 297 Deploying in the Design Center and Data Object Editor 298 The Control Center Manager 301 The Control Center Manager window overview 302 Deploying in the Control Center Manager 310 Executing 312 Deploying and executing remaining objects 314 Deployment order 315 Execution order 319 Summary 320 Chapter 9: Extra Features 321 Metadata change management 322 Metadata Loader (MDL) exports and imports 322 Recycle bin 325 Cut, copy, and paste 328 Snapshots 334 Synchronizing objects 341 Changes to tables 341 Updating object definitions 341 Synchronizing 343 Changes to dimensional objects and binding 349 Warehouse Builder online resources 352 Summary 353 Chapter 10: Code Template Mappings 355 Code templates 356 Code template description 356
Types of code templates 357 Pre-defined code templates 358 Connecting to SQL server using a JDBC database connection 360 Downloading the JDBC driver 360 Creating a SQL server module 361 Configuring SQL server TCP/IP port 361 Creating SQL server module 363 Importing metadata 367 Building a code template mapping 372 Starting the Control Center Agent 373 Defining a template mapping module 374 Creating a code template mapping 377 Copying a mapping 378 Editing a code template mapping 379 Deploying and executing a code template mapping 392 Summary 395 Index 397