Oracle Fusion Middleware Getting Started With Oracle Data .

Transcription

Oracle Fusion MiddlewareGetting Started with Oracle Data IntegratorRelease 11g (11.1.1)E12641-01September 2010

Oracle Fusion Middleware Getting Started with Oracle Data Integrator, Release 11g (11.1.1)E12641-01Copyright 2010, Oracle and/or its affiliates. All rights reserved.Primary Author:Laura Hofman MiquelThis software and related documentation are provided under a license agreement containing restrictions onuse and disclosure and are protected by intellectual property laws. Except as expressly permitted in yourlicense agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverseengineering, disassembly, or decompilation of this software, unless required by law for interoperability, isprohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. Ifyou find any errors, please report them to us in writing.If this software or related documentation is delivered to the U.S. Government or anyone licensing it onbehalf of the U.S. Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical datadelivered to U.S. Government customers are "commercial computer software" or "commercial technical data"pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. Assuch, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions andlicense terms set forth in the applicable Government contract, and, to the extent applicable by the terms ofthe Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer SoftwareLicense (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.This software is developed for general use in a variety of information management applications. It is notdeveloped or intended for use in any inherently dangerous applications, including applications which maycreate a risk of personal injury. If you use this software in dangerous applications, then you shall beresponsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe useof this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use ofthis software in dangerous applications.Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarksof their respective owners.This software and documentation may provide access to or information on content, products, and servicesfrom third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim allwarranties of any kind with respect to third-party content, products, and services. Oracle Corporation andits affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use ofthird-party content, products, or services.

ContentsPreface . viiAudience. viiDocumentation Accessibility . viiRelated Documents . viiiConventions . viii1 Oracle Data Integrator roduction to Oracle Data Integrator.The Business Problem .A Unique Solution .ODI Component Architecture.Repositories .ODI Studio and User Interfaces.Run-Time Agent.Oracle Data Integrator Console .Get Started with Oracle Data Integrator.1-11-11-11-21-31-41-41-51-52 Installing Oracle Data Integrator and the Demonstration .42.3Preparing to Install .Review System Requirements and Certification.Understand Oracle Fusion Middleware Support of 64-bit JDK.Create ODI Repositories .Installing Oracle Data Integrator .Downloading the Installer and the Demo Environment .Starting the Installer .Installation Types.Installation Instructions .Installing the Demonstration Environment .2-12-12-22-22-22-22-32-32-32-63 Working with the ETL Project3.13.23.2.13.2.23.2.3The Example Environment .The Data Models .Orders Application - HSQL.Parameters - FILE.Sales Administration - HSQL.3-13-23-23-33-3iii

3.3Integration Challenges . 3-44 Starting Oracle Data Integrator4.14.24.2.14.2.24.34.3.14.3.2Starting the Demonstration Environment .Starting Oracle Data Integrator Studio .Starting ODI Studio .Defining a new Getting Started Login .Introduction to Using the ODI Navigators .Designer Navigator .Operator Navigator .4-14-24-24-34-54-54-75 Implementing Data Quality Control5.1Introduction to Data Integrity Control . 5-15.2SRC CUSTOMER Control Example . 5-25.2.1Objective. 5-25.2.2Interpreting the Problem . 5-35.2.3Creating Constraints . 5-35.2.3.1Age Constraint . 5-35.2.3.2Reference Constraint . 5-45.2.4Run the Static Control . 5-65.2.5Follow the Execution of the Control in Operator Navigator. 5-75.2.6Interpreting the Results in Operator Navigator. 5-85.2.6.1Determining the Number of Invalid Records . 5-85.2.6.2Reviewing the Invalid Records. 5-96 Working with Integration Interfaces6.1Pop. TRG CUSTOMER Interface Example. 6-16.1.1Purpose and Integration Requirements. 6-16.1.2Interface Definition. 6-26.1.3Creating the Integration Interface . 6-36.1.3.1Insert a New Integration Interface . 6-46.1.3.2Define the Target Datastore . 6-56.1.3.3Define the Source Datastores . 6-66.1.3.4Define the Lookup Table . 6-86.1.3.5Define the Join between the Source Datastores. 6-136.1.3.6Define the Mappings. 6-136.1.3.7Define the Data Loading Strategies (LKM). 6-196.1.3.8Define the Data Integration Strategies (IKM). 6-206.1.3.9Define the Data Control Strategy . 6-206.2Pop. TRG SALES Interface Example . 6-216.2.1Purpose and Integration Requirements. 6-216.2.2Interface Definition. 6-226.2.3Creating the Integration Interface . 6-236.2.3.1Insert a New Integration Interface . 6-236.2.3.2Define the Target Datastore . 6-246.2.3.3Define the Source Datastores . 6-24iv

6.2.3.46.2.3.56.2.3.66.2.3.76.2.3.86.2.3.9Define Joins between the Source Datastores .Define the Order Filter.Define the Transformation Rules .Define the Data Loading Strategies (LKM).Define the Data Integration Strategies (IKM).Define the Data Control Strategy .6-246-246-256-276-286-287 Working with Packages7.1Introduction . 7-17.1.1Automating Data Integration Flows . 7-17.1.2Packages . 7-17.1.2.1Scenarios . 7-27.2Load Sales Administration Package Example . 7-27.2.1Purpose. 7-27.2.2Developments Provided with Oracle Data Integrator . 7-

Oracle Data Integrator 11g Online Help Oracle Data Integrator 11g Release Notes, included with your Oracle Data Integrator 11g installation, and on Oracle Technology Network Conventions The following text conventions are used in this document: Convention Meaning boldface Boldface type indicates graphical user interface elements associated