Odi 12c Getting Started Guide
Odi 12c Getting Started Guide
Odi 12c Getting Started Guide
July 2014
Oracle Fusion Middleware Getting Started with Oracle Data Integrator, 12c
Copyright 2010, 2014, Oracle and/or its affiliates. All rights reserved. Primary
Author:
This software and related documentation are provided under a license agreement containing restrictions on use and
disclosure and are protected by intellectual property laws. Except as expressly permitted in your license 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. Reverse engineering, disassembly, or
decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you
find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered 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. As such,
the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set
forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract,
the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle
America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is
not developed or intended for use in any inherently dangerous applications, including applications that may create
a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be
responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle
Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in
dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD
logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a
registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its
affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party
content, products, or services.
Contents
Preface ........................................................................................................................... 6
Audience 6
Documentation Accessibility .................................................................................................................................. 6
Related Documents .................................................................................................................................................. 6
Conventions .............................................................................................................................................................. 7
1.1
1.1.1
1.1.2
1.2
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3
2.1
2.1.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.3
2.3.1
2.4
2.4.1
2.4.2
Preparing to Install.............................................................................................. 13
Review System Requirements and Certification .......................................................................... 13
2.5
2.6
2.7
2.7.1
2.7.2
2.7.3
2.7.4
3.1
3.2
3.2.1
3.2.2
3.2.3
3.3
4.1
4.1.1
4.2
4.3
5.1
5.1.1
5.1.2
5.1.3
5.2
5.2.1
5.2.2
5.2.3
6.1
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
7
7.1
Objective............................................................................................................................................. 65
Interpreting the Problem ................................................................................................................. 66
Creating Constraints......................................................................................................................... 66
Run the Static Control ...................................................................................................................... 69
Follow the Execution of the Control in Operator Navigator ...................................................... 70
Interpreting the Results in Operator Navigator ........................................................................... 71
7.1.1
7.1.2
7.2
7.2.1
7.2.2
7.2.3
7.2.4
Purpose............................................................................................................................................... 75
Mappings Provided with Oracle Data Integrator ........................................................................ 75
Problem Analysis .............................................................................................................................. 76
Creating the Package ........................................................................................................................ 77
8.1
8.1.1
8.1.2
8.1.3
9.1
Introduction ......................................................................................................... 84
9.2
9.3
9.3.1
9.4
Introduction ......................................................................................................... 87
Connect to the ODI Work Repository ............................................................................................ 88
10.2
10.3
10.3.1
10.3.2
10.4
10.5
10.5.1
10.5.2
11.2
What else can you do with Oracle Data Integrator? ....................................... 112
11.3
Preface
This manual describes how to get started with Oracle Data Integrator. It provides general
background information and detailed examples to help you learn how to use Oracle Data
Integrator.
This preface contains the following topics:
Audience
Documentation Accessibility
Related Documents
Conventions
Audience
This document is intended for users interested in learning how to use Oracle Data
Integrator as a development tool for their integration processes.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For
information, visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing
impaired.
Related Documents
For more information, see the following Oracle resources:
Oracle Fusion Middleware Developers Guide for Oracle Data Integrator
Oracle Fusion Middleware Installation Guide for Oracle Data Integrator
Oracle Fusion Middleware Upgrade Guide for Oracle Data Integrator
Oracle Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data
Integrator
Oracle Fusion Middleware Knowledge Module Developer's Guide for Oracle Data
Integrator
Oracle Data Integrator 12c Online Help
Oracle Data Integrator 12c Release Notes, included with your Oracle Data Integrator 12c
installation, and on Oracle Technology Network
Conventions
The following text conventions are used in this document:
Convention
Meaning
boldface
italic
monospace
1.1
Faster and simpler development and maintenance: The declarative rules driven
approach to data integration greatly reduces the learning curve of the product and
increases developer productivity while facilitating ongoing maintenance. This approach
separates the definition of the processes from their actual implementation, and separates
the declarative rules (the "what") from the data flows (the "how").
Data quality firewall: Oracle Data Integrator ensures that faulty data is automatically
detected and recycled before insertion in the target application. This is performed without
the need for programming, following the data integrity rules and constraints defined both
on the target application and in Oracle Data Integrator.
1.2
Simpler and more efficient architecture: the E-LT architecture removes the need for an
ETL Server sitting between the sources and the target server. It utilizes the source and
target servers to perform complex transformations, most of which happen in batch mode
when the server is not busy processing end-user queries.
Platform Independence: Oracle Data Integrator supports many platforms, hardware and
OSs with the same software.
Data Connectivity: Oracle Data Integrator supports many RDBMSs including leading
Data Warehousing platforms such as Oracle, Exadata, Teradata, IBM DB2, Netezza and
numerous other technologies such as Big Data, flat files, ERPs, LDAP, XML.
Cost-savings: the elimination of the ETL Server and ETL engine reduces both the initial
hardware and software acquisition and maintenance costs. The reduced learning curve
and increased developer productivity significantly reduce the overall labor costs of the
project, as well as the cost of ongoing enhancements.
1.2.1 Repositories
The central component of the architecture is the Oracle Data Integrator Repository. It stores
configuration information about the IT infrastructure, metadata of all applications, projects,
scenarios, and the execution logs. Many instances of the repository can coexist in the IT
infrastructure, for example Development, QA, User Acceptance, and Production. The architecture
of the repository is designed to allow several separated environments that exchange metadata
and scenarios (for example: Development, Test, Maintenance and Production environments).
The repository also acts as a version control system where objects are archived and assigned a
version number.
The Oracle Data Integrator Repository is composed of one Master Repository and several Work
Repositories. Objects developed or configured through the user interfaces are stored in one of
these repository types.
There is usually only one master repository that stores the following information:
Security information including users, profiles and rights for the ODI platform
Topology information including technologies, server definitions, schemas, contexts,
languages and so forth.
Versioned and archived objects.
The work repository is the one that contains actual developed objects. Several work
repositories may coexist in the same ODI installation (for example, to have separate
environments or to match a particular versioning life cycle). A Work Repository stores
information for:
Models, including schema definition, datastores structures and metadata, fields and
columns definitions, data quality constraints, cross references, data lineage and so forth.
Projects, including business rules, packages, procedures, folders, Knowledge Modules,
variables and so forth.
Scenario execution, including scenarios, scheduling information and logs.
When the Work Repository contains only the execution information (typically for production
purposes), it is then called an Execution Repository.
10
Operator Navigator is the production management and monitoring tool. It is designed for IT
production operators. Through Operator Navigator, you can manage your mapping
executions in the sessions, as well as the scenarios in production.
Topology Navigator is used to manage the data describing the information system's physical
and logical architecture. Through Topology Navigator you can manage the topology of your
information system, the technologies and their datatypes, the data servers linked to these
technologies and the schemas they contain, the contexts, the languages and the agents, as well
as the repositories. The site, machine, and data server descriptions will enable Oracle Data
Integrator to execute the same mappings in different physical environments.
Security Navigator is the tool for managing the security information in Oracle Data
Integrator. Through Security Navigator you can create users, roles and profiles and assign
user rights for methods (edit, delete, etc) on generic objects (data server, datatypes, etc), and
fine-tune these rights on the object instances (Server 1, Server 2, etc).
Oracle Data Integrator also provides a Java API for performing all these run-time and designtime operations. This Oracle Data Integrator Software Development Kit (SDK) is available for
standalone Java applications and application servers.
Java Enterprise Edition (Java EE) Agents are deployed on Oracle WebLogic Server
and can benefit from the application server layer features such as clustering for High
Availability requirements. Java EE Agents can be managed using Oracle Enterprise
Manager.
Standalone Agents can be installed on the source or target systems and require a
Java Virtual Machine.
These agents are multi-threaded java programs that support load balancing and can be
distributed across the information system. The Agent holds its own execution schedule which
can be defined in Oracle Data Integrator, and can also be called from an external scheduler. It
can also be invoked from a Java API or a web service interface.
To manage and monitor the Java EE and Colocated Standalone Agents as well as the ODI
Console, Oracle Data Integrator provides a plug-in that integrates with Oracle Enterprise
Manager Cloud Control as well as Oracle Fusion Middleware Control Console.
11
1.3
This chapter
Chapter 2, "Installing Oracle Data Integrator and the
Demonstration Environment"
Chapter 3, "Working with the ETL Project"
12
2.1
Preparing to Install
Review the information in this section before you begin:
Review System Requirements and Certification
Create ODI Repositories
13
2.2
Note: The minimum JDK required for Oracle Data Integrator is JDK 7. Refer
14
15
4. In the Installation Type Screen, select the Standalone Installation. Note the ODI Studio
5.
6.
16
7. In the Installation Summary Screen, verify the information and click Install to continue.
8. In the Installation Progress Screen, click Next to continue.
9. In the Installation Completed Screen, click Finish to dismiss the installer.
The following steps will continue to create the ODI repositories and connection
configuration.
2.3
On the Start menu, select All Programs > Oracle > Oracle Data
Integrator > ODI Studio.
17
Upon launching Studio the first time, you will be prompted with an Import Preferences
screen. Proceed to click No.
The ODI Studio client will continue to load as shown in Figure 2-4.
Figure 2-4 Oracle Data Integrator Studio 12c
2.4
prod_odi_repo
oracle
If using SQL Plus, sample syntax for creating this new user is:
SQL> create user prod_odi_repo identified by oracle;
18
Depending on your database configuration, you may also wish to create a new tablespace and
associate the user prod_odi_repo to it.
A second user will need to be created for the demonstration data as well. The odi_demo user
will store the demonstration sample data and is referenced in the ODI Topology and Model
metadata.
User-ID:
Password:
odi_demo
oracle
If using SQL Plus, sample syntax for creating this new user is:
SQL> create user odi_demo identified by oracle;
19
4. Enter the repository database connection and credentials and click Next
5. Create the credentials for the ODI Supervisor account. For demo environments the
recommended best practice is User-ID: SUPERVISOR, Password: SUPERVISOR.
Click Next
20
The progress bar is displayed while the repository is created, followed by a dialog when the
master repository is created.
21
2.5
2.
User: prod_odi_repo
This is the database user ID/login of the schema (database, library) that contains
the ODI master repository
Password: oracle
URL:
jdbc:oracle:thin:@localhost:1521:ORCL
This URL is used to establish the JDBC connection to the database hosting the
repository. Note that the driver name is case sensitive and make sure that the URL does
not contain any extra characters, in particular spaces.
22
Clicking on Test will verify the connection or provide an error indicating the next steps.
3.
2.6
Click OK, The ODI Studio Designer will be displayed upon a successful connection.
Start ODI Studio and connect to the Master Repository, if not already.
Select the Topology Tab and expand the Repositories accordion.
Figure 2-12 Creating a Work Repository
3.
Create a new work repository. Right Click on Work Repository and select New Work
Repository.
23
4.
Enter the JDBC connection information and repository database credentials. Validate the
database connection by clicking Test Connection
Figure 2-13 Work Repository Connection Properties
5.
6.
Name the work repository WORKREP, and specify SUPERVISOR for the Password.
24
7.
Click Finish, the following status is displayed until the work repository is created.
8.
9.
2.7
From the ODI Menu, Click Disconnect from the repository. At this point, ODI is installed
and ready to use.
Figure 2-17 Disconnect from the Work Repository
25
Using the odi_demo database user created earlier, execute the following scripts.
Execute the table creation scripts.
CREATE_SRC_ORACLE.sql
CREATE_TRG_ORACLE.sql
An example may be, from the directory where the scripts exist, start SQL Plus
/home/Oracle/Middleware/odi/demo/database_scripts
Execute the script
SQL>@CREATE_SRC_ORACLE.sql
2.
2.
3.
4.
5.
Click OK again and continue to connect. The ODI Studio will show the Designer tab. At this
point, ODI is ready to be used and you can proceed to the next section to import the ODI
Demonstration objects (models, data stores, mappings.)
Figure 2-20 ODI Studio Designer Navigator
27
3. Select Smart Import from the Import Selection list and click OK.
4. Navigate to the ODI_HOME directory, open the demo directory and select
28
Oracle Data Integrator Objects are now available. Expand Models to reveal the models
and datastores used for the demonstration.
29
The Repository: The Repository contains all of the metadata required for the
getting started demo examples.
Parameters: Flat files (ASCII) issued from the production system containing a list of sales
representatives and the segmentation of ages into age ranges.
30
SRC_CITY
SRC_CUSTOMER
SRC_ORDERS
SRC_ORDER_LINES
SRC_PRODUCT
SRC_REGION
3.2.2 Parameters
The Parameters data model is based on the File technology and includes two datastores:
SRC_SALES _PERSON
SRC_AGE_GROUP
31
TRG_CITY
TRG_COUNTRY
TRG_CUSTOMER
TRG_PRODUCT
TRG_PROD_FAMILY
TRG_REGION
TRG_SALES
32
Accurately and easily exchanging data between your applications while respecting
the business rules of your information system
Automate end to end process flows
Visibility over the entire set of data integration processes
The examples used in this guide illustrate how to address these issues. During this getting
started guide, you will learn how to:
Create mappings to move and transform data
Two simple examples will show you how to improve productivity by loading the data
from Orders Application and Parameters into the Sales Administration data warehouse.
Automate the execution of these mappings into packages
This part of the Getting Started guide will show you how to automate your Oracle Data
Integrator processes. The aim of this exercise is to load the entire Sales Administration data
warehouse with a single click.
Execute the package and review the execution results
You will learn how to execute the Load Sales Administration package and the mappings
Load TRG_CUSTOMERand Load TRG_SALES you have created and how to review the
results of these executions.
Prepare the developed components for deployment
You will learn how to run the Load Sales Administration package automatically in a
production environment.
Implement Data Quality Control to check data in a database
By implementing two examples, you will learn how Oracle Data Integrator enables you to
ensure the quality of the data in your applications while segregating invalid rows. The
Orders Application tables contain a number of data inconsistencies that you will detect.
Note: In this guide, we will be looking at processes that focus on ETL. While it is
beyond the scope of this document, implementing different integration patterns
(real-time, for example) can be carried out in the same fashion. For more
information on this, see the Oracle Data Integrator documentation after completing
this guide.
Now that you have been introduced to the concepts of the Demo Project and its components,
you can move on to Introduction to using ODI Studio.
33
On the Start menu, select All Programs > Oracle > Oracle Data
Integrator > ODI Studio.
Upon launching Studio the first time, you will be prompted with an Import Preferences
screen. Proceed to click No.
34
The ODI Studio client will continue to load. Click on Connect to Repository then ensure the
Login Name is set to ODI Getting Started and click OK.
Figure 4-1 Oracle Data Integrator Studio 12c
35
36
The demonstration import files provide the objects you will need in this Getting Started
guide:
In the Models accordion, you will find all the data models corresponding to the
Orders Application, Parameters and Sales Administration applications.
In the Projects accordion, you will find the Demo project and the Sales
Administration folder which already contains several mappings. You will develop
your new mappings in this folder.
The necessary Knowledge Modules (KM) are already imported in the Demo Project:
CKM Oracle
Hierarchical Sessions
37
38
The transformed value of the numeric data (0, 1, 2) from the DEAR column in the source
table into an standard salutation text string in the target (Mr, Mrs, or Ms).
The concatenated first and last names of the source customers.
The source data is not always consistent with the integrity rules implemented in the target
environment. For this mapping, the data has to be cleansed by verifying that all constraints
are satisfied and by storing invalid rows in an error table rather than in our target database.
In this example, two important integrity rules must be satisfied:
Customers must be older than 21 (condition AGE > 21)
The customers must be associated with a city (CITY_ID) that exists in the TRG_ CITY
table (reference FK_CUST_CITY)
The functional details for these rules and the procedure to follow are given in
Section 5.1.3, "Creating the Mapping".
Datastore
Description
Sales Administration
TRG_CUSTOMER
Type
Oracle Table
Three source datastores. Table 52 lists the details of the source datastores.
Table 52 Source Datastore Details of Load TRG_CUSTOMER
Model
Orders
Application
Parameters
Datastore
SRC_CUSTOMER
SRC_AGE_GROUP
Description
Customers in the source
system
Age bracket file
Parameters
SRC_SALES_PERSON
Salesperson file
Type
Oracle table
File delimited by
semicolons
File of fixed-size records
39
Join
Description
SQL Rule
Join SRC_SALES_
PERSON and SRC_
CUSTOMER
SRC_CUSTOMER.SALES_PERS_ID =
SRC_SALES_PERSON.SALES_PERS_ID
One Lookup table. Table 54 lists the details of the lookup table.
Table 54 Lookups used in Load TRG_CUSTOMER
Lookup
Customers and
age range
Description
The customer's age must
between the minimum and
maximum ages in the file
SQL Rule
SRC_CUSTOMER.AGE between SRC_AGE_
GROUP.AGE_MIN and SRC_AGE_ GROUP.AGE_MAX
Several transformation rules. Table 55 lists the details of the transformation rules.
Table 55 Transformation Rules used in Load TRG_CUSTOMER
Target Column
CUST_ID
DEAR
Origin
SRC_ CUSTOMER.CUSTID
If SRC_CUSTOMER.DEAR = 0
then 'MR'
If SRC_ CUSTOMER.DEAR = 1
then 'MRS' else 'MS'
CUST_NAME
Concatenation of SRC_
CUSTOMER.FIRST_NAME and SRC_
CUSTOMER.LAST_NAME in upper
case
SRC_CUSTOMER.ADDDRESS
SRC_CUSTOMER.CITY_ID
SRC_CUSTOMER.PHONE
SRC_CUSTOMER.AGE
SRC_AGE_ GROUP.AGE_RANGE
ADDRESS
CITY_ID
PHONE
AGE
AGE_RANGE
SALES_PERS
Concatenation of
SRC_SALES_PERSON.FIRST_NAME
and
SRC_SALES_PERSON.LAST_NAME
in uppercase
SQL Rule(Expression)
SRC_ CUSTOMER.CUSTID
CASE
WHEN CUSTOMER.DEAR=0 THEN 'Mr'
WHEN CUSTOMER.DEAR=1 THEN 'Mrs'
ELSE 'Ms'
END
SRC_CUSTOMER.FIRST_NAME || ' ' ||
UPPER(SRC_CUSTOMER.LAST_NAME)
SRC_CUSTOMER.ADDRESS
SRC_CUSTOMER.CITY_ID
SRC_CUSTOMER.PHONE
SRC_CUSTOMER.AGE
SRC_AGE_ GROUP.AGE_RANGE
SRC_SALES_PERSON.FIRST_NAME || ' ' ||
UPPER(SRC_SALES_PERSON.LAST_NAME)
40
CRE_DATE
UPD_DATE
Todays date
Todays date
SYSDATE
SYSDATE
5.1.3.1
Enter the name of your mapping (Load TRG_CUSTOMER) in the Name field as shown in
Figure 52.
41
5.1.3.2
Administration model.
3. Select TRG_CUSTOMER datastore under the Sales Administration model
and drag it into the mapping editor as shown in Figure 5-3.
Figure 53 Selecting the Target
42
5.1.3.3
5.1.3.4
Figure 55 below.
43
2. From the Parameters model, drag the SRC_AGE_GROUP datastore into the Mapping. The
44
4. Select the LOOKUP, click Condition in the LOOKUP Properties as in Figure 5-7.
5.
Modify the Condition by replacing the = with the string between. You should
have the following in the Lookup Condition
6.
Click Save.
45
5.1.3.5
This section describes how to define a join between the source datastores. To
create the join defined in Table 59:
Drag the JOIN component into the mapping.
In the mapping, drag the SALES_PERS_ID column from the SRC_ CUSTOMER
datastore into the JOIN.
In the mapping, drag the SALES_PERS_ID column from the SRC_SALES_PERSON
datastore into the join.
Figure 5-9 JOIN Properties showing the Join Condition and Execute
Figure 510 Source Diagram of the Load TRG_CUSTOMER Mapping with a Lookup and a
Join
46
5.1.3.6
The transformation rules, defined as expressions, are listed on the target column.
Following are the steps to complete the custom mappings.
Click on the TRG_CUSTOMER datastore in the mapping to display the properties.
Figure 512 TRG_CUSTOMER Properties
47
3. Select the mapped field, CUST_ID in the Target Datastore to display its properties in the
Property Inspector.
DEAR Mapping Expression
This transformation rule maps the source datastore's DEAR column (numeric) as a string
expression (0 -->'MR', 1 -->'MRS', 2 -->'MS').
To define the expression for the DEAR target column:
1. In the Target Datastore, select the DEAR target column to display the mapping
properties in the Property Inspector.
2. In the Expression field, enter the following mapping expression:
CASE
WHEN SRC_CUSTOMER.DEAR = 0 THEN 'Mr'
WHEN SRC_CUSTOMER.DEAR = 1 THEN 'Mrs'
ELSE 'Ms'
END
48
Tip: You can drag source columns, for example the SRC_ CUSTOMER.DEAR column, into
the Expression field. You can also use the Expression Editor.
In the Target Datastore, select AGE_RANGE to display the mapping properties in the
Property Inspector.
2.
SRC_AGE_GROUP.AGE_RANGE
Tip: Auto-completion functions are available in ODI Studio. In the Expression, type SRC_ and
then press <CTRL-SPACE>, a pop-up window displays available fields as shown in Figure 515.
Figure 5-15 Auto-completion
You can also drag and drop the AGE_RANGE column from SRC_AGE_GROUP into
AGE_RANGE in TRG_CUSTOMER.
SALES_PERS Mapping Expression
This will map the concatenated value of the first name and uppercase last name of each
salesperson.
To define the mapping expression for the SALES_PERS target column:
49
1. In the Target Datastore, select SALES_PERS to display the mapping properties in the
Property Inspector.
2. In the Expression field, enter the following mapping expression:
50
If you were to execute this mapping on the target using the Execute on Hint field, the
Expression Editor would give you the syntax for your target system.
The Target Datastore Panel
Your transformation rules appear in the Target Datastore Attributes panel as shown in
Figure 517.
Figure 517 Target Datastore Mappings
5.1.3.7
51
5.1.3.8
TARGET_GROUP object. The Property Inspector will display the properties of the target.
2. In the Property Inspector, set the IKM to IKM Oracle Incremental Update in the
Integration Knowledge Module Selector list. If this IKM is not in the list, make sure you have
correctly set the Target Integration Type to Incremental Update in the Logical panel.
3. In the knowledge module options, leave the default values. The Property Inspector
52
Note: Only the built-in Knowledge Modules or the ones you imported to your
5.1.3.9
53
PK_TRG_CUSTOMER
FK_CUST_CITY
The Constraints tab appears as shown in Figure 520
Figure 520 Constraints of TRG_CUSTOMER
The sales must be associated with a product (PRODUCT_ID) that exists in the
TRG_PRODUCT table (reference FK_SALES_PROD
The sales must be associated with a customer (CUST_ID) that exists in the TRG_
CUSTOMER table (reference FK_SALES_CUST
The functional details for these rules and the procedure to follow are given in Section 5.2.3,
"Creating the Mapping".
54
Datastore
TRG_SALES
Description
Target table in the Sales
Administration System
Type
Oracle table
Two source datastores. Table 58 lists the details of the source datastores.
Datastore
SRC_ORDERS
Description
Orders table in the source
systems
Order lines table in the
source system
SRC_ORDER_LINES
Type
Oracle table
Description
Join SRC_ORDERS
and SRC_ORDER_
LINES
SQL Rule
SRC_ORDERS.ORDER_ ID =
SRC_ORDER_ LINES.ORDER_ID
Table 510
Description
Only retrieve completed orders
(CLOSED)
SQL Rule
SRC_ORDERS.STATUS = 'CLO'
Orders Application
55
Several transformation rules. Table 511 lists the details of the transformation rules.
Table 511 Transformation Rules used in Load TRG_SALES
Target Column
CUST_ID
PRODUCT_ID
Origin
CUST_ID from SRC_ ORDERS
PRODUCT_ID from
SRC_ORDER_LINES
FIRST_ORD_ID
FIRST_ORD_DATE
LAST_ORD_ID
LAST_ORD_DATE
QTY
AMOUNT
PROD_AVG_PRICE
SQL Rule(Expression)
SRC_ORDERS.CUST_ ID
SRC_ORDER_ LINES.PRODUCT_ID
MIN(SRC_ ORDERS.ORDER_ID)
MIN(SRC_ ORDERS.ORDER_ DATE)
MAX(SRC_ ORDERS.ORDER_ID)
MAX(SRC_ ORDERS.ORDER_ DATE)
SUM(SRC_ORDER_ LINES.QTY)
SUM(SRC_ORDER_ LINES.AMOUNT)
AVG(SRC_ORDER_ LINES.AMOUNT)
5.2.3.1
Mapping.
4. Enter the name of your mapping (Load TRG_SALES) in the Name field. Create Empty
56
5.2.3.2
the mapping.
5.2.3.3
5.2.3.4
57
3. Select the filter in the Source Diagram to display the filter properties in the
Property Inspector.
4. In the Condition tab of the Property Inspector, modify the filter rule by typing:
SRC_ORDERS.STATUS = 'CLO'
5.2.3.5
A join linking the two datastores appears. This is the join on the order number. The join
has the following expression:
SRC_ORDERS.ORDER_ID=SRC_ORDER_LINES.ORDER_ID
5.2.3.6
From the Components palette, drag the AGGREGATE component into the mapping.
2.
Drag the AGGREGATE output connector point to the TRG_SALES input connector point.
This action will start an Automap, selecting OK will backfill the AGGREGATE from the
Target attributes.
58
59
MAX(SRC_ORDERS.ORDER_DATE)
This transformation rule maps the maximum value of the ORDER_DATE
column in your SRC_ORDERS table to the LAST_ORD_DATE column in
your target table.
Review carefully your Aggregate rules and make sure that you have defined the rules as
shown in Figure 523 below.
Note that even though this example uses aggregation functions, you do not have to specify
the group by rules: Oracle Data Integrator will infer that from the mappings, applying SQL
standard coding practices.
Figure 523 Aggregate Properties
60
5.2.3.7
loading of the order line's filtered aggregate results. In this example, this is the
AGGREGATE_AP access point in the ODI_DEMO_TRG_UNIT.
2. In the Property Inspector, set the LKM to LKM SQL to SQL (Built-In).GLOBAL using
61
5.2.3.8
Selector list. If this IKM is not in the list, make sure you have correctly set the Target
Integration Type to Incremental Update in the Logical panel.
3. In the knowledge module options, leave the default values.
5.2.3.9
selected.
Figure 527 Load TRG_SALES Mapping
62
2. In the Logical tab of TRG_SALES, select Constraints. Set the constraints that you wish to
verify to true:
PK_TRG_SALES
FK_SALES_CUST
FK_SALES_PROD
Figure 5-28 Constraint Definition for TRG_SALES
63
This chapter describes how to implement data quality control. An introduction to data
integrity control is provided.
This chapter includes the following sections:
Section 6.1, "Introduction to Data Integrity Control"
Section 6.2, "SRC_CUSTOMER Control Example"
64
Benefits
The main advantages of performing data integrity checks are the following:
Increased productivity by using the target database for its entire life cycle. Business rule
violations in the data slow down application programming throughout the target
database's life-cycle. Cleaning the transferred data can therefore reduce application
programming time.
Validation of the target database's model. The rule violations detected do not always imply
insufficient source data integrity. They may reveal a degree of incompleteness in the target
model. Migrating the data before an application is rewritten makes it possible to validate a
new data model while providing a test database in line with reality.
Improved quality of service for the end-users. Ensuring data integrity is not always a
simple task. Indeed, it requires that any data violating declarative rules must be isolated
and recycled. This implies the development of complex programming, in particular when
the target database incorporates a mechanism for verifying integrity constraints. In terms of
operational constraints, it is most efficient to implement a method for correcting erroneous
data (on the source, target, or recycled flows) and then to reuse this method throughout the
enterprise.
6.2.1 Objective
Some data in our source may be inconsistent. There may be constraints in the target table
that are not implemented in the source table or there may be supplementary rules that you
wish to add. In our case we have two constraints that we want to enforce on the
SRC_CUSTOMER table:
Customers must be over 21 years of age. However there could be some records
corresponding to younger customers in the input table.
The CITY_ID column must refer to an entry in the SRC_CITY table. However there
could be some values that do not exist in the city table.
We want to determine which rows do not satisfy these two constraints and automatically
copy the corresponding invalid records into an error table for analysis.
65
6.2.3.1
Age Constraint
Creating an age constraints consists in adding a data validity condition on a column. To
create the age constraint:
1. In the Models accordion in Designer Navigator, expand the Orders Application model.
2. Expand the SRC_CUSTOMER datastore.
3. Right-click the Constraints node and select New Condition as shown in Figure 61.
In the Name field, enter the name of your condition. For example: AGE > 21.
Note:
You can enter this text directly in the Where clause field or you can use the
Expression Editor. To open the Expression Editor click Launch the expression
editor in the Where clause toolbar menu.
The constraints created by Oracle Data Integrator are not actually created
on the database. The constraints are stored in the Repository.
66
In the Message field, specify the error message as it will appear in your error table:
Customer age is not over 21!
5. From the File main menu, select Save to save the condition.
6.2.3.2
Reference Constraint
This section describes how to create a reference constraint based on the CITY_ID column
between the SRC_CUSTOMER table and the SRC_CITY table.
This constraint allows checking that customers are located in a city that exists in the
SRC_CITY table.
To create the reference constraint:
1. In the Models accordion in Designer Navigator, expand the Orders Application model.
2. Expand the SRC_CUSTOMER datastore.
3. Right-click the Constraints node and select New Reference as shown in Figure 63.
67
68
Note that in this example the Foreign Table is SRC_CUSTOMER and the Primary Table is
SRC_CITY. Note also that it is not required for foreign keys that the column names of the
Foreign Table and the Primary Table match. It just happens that they do in this example.
8. Select File > Save to save this reference.
Tip: You can alternately use the [CTRL - S] shortcut to save the current Editor.
69
Oracle Data Integrator automatically generates all of the code required to check your data
and start an execution session.
70
The log for one execution session appears as shown in Figure 69.
Figure 69 Session List in Operator Navigator
6.2.6.1
71
3. The Record Statistics section details the changes performed during the static control.
These changes include the number of inserts, updates, deletes, errors, and the total number
of rows handled during this step.
Figure 610 shows the Session Step Editor of the SRC_CUSTOMER step.
Figure 610 SRC_CUSTOMER Session Step Editor
The number of invalid records is listed in the No. of Errors field. Note that the static control
of the SRC_CUSTOMER table has revealed 6 invalid records. These records have been
isolated in an error table. See Section 6.2.6.2, "Reviewing the Invalid Records" for more
information.
6.2.6.2
72
The records that were rejected by the check process are the following:
5 records in violation of the AGE > 21 constraint (the actual age of the customer
is 21 or younger, see the AGE column for details).
1 record in violation of the FK_CITY_CUSTOMER constraint (The CITY_ID value does
not exist in the SRC_CITY table).
You can view the entire record in this Editor. This means that you can instantly see which
values are incorrect, for example the invalid CITY_ID value in the top record.
Note that the error message that is displayed is the one that you have defined when setting
up the AGE > 21 constraint in Section 6.2.3.1, "Age Constraint".
Now that the static controls have been run on the source data, you are ready to move on to
the implementation of mappings.
73
This chapter describes how to work with Packages in Oracle Data Integrator. The Load Sales
Administration package is used as an example. An introduction to Packages and automating
data integration between applications is provided.
This chapter includes the following sections:
Section 7.1, "Introduction"
Section 7.2, "Load Sales Administration Package Example"
7.1 Introduction
This section provides an introduction to automating data integration using packages in
Oracle Data Integrator.
7.1.2 Packages
A Package is made up of a sequence of steps organized into an execution diagram.
Packages are the main objects used to generate scenarios for production. They represent
the data integration workflow and can perform, for example, the following jobs:
Start a reverse-engineering process on a datastore or a model
Send an email to an administrator
Download a file and unzip it
Define the order in which mappings must be executed
Define loops to iterate over execution commands with changing parameters
In this Getting Started exercise, you will load your Sales Administration application using
a sequence of mappings. Since referential constraints exist between tables of this
application, you must load target tables in a predefined order. For example, you cannot
load the TRG_CUSTOMER table if the TRG_CITY table has not been loaded first.
In the Section 7.2, "Load Sales Administration Package Example", you will create and run a
package that includes mappings that are included in the Demo project and mappings that
youve created in Chapter 5, "Working with Mappings".
74
7.1.2.1
Scenarios
A scenario is designed to put source components (mapping, package, procedure, variable)
into production. A scenario results from the generation of code (SQL, shell, and so forth) for
this component.
Once generated, the code of the source component is frozen and the scenario is stored
inside the Work repository. A scenario can be exported and then imported into different
production environments.
Note: Once generated, the scenario's code is frozen, and all
Purpose
Problem Analysis
7.2.1 Purpose
The purpose of the Load Sales Administration package is to define the complete workflow for
the loading of the Sales Administration application and to set the execution sequence.
75
76
Such an integration process is built in Oracle Data Integrator in the form of a Package.
7.2.4.1
7.2.4.2
77
Load TRG_PROD_FAMILY
Load TRG_PRODUCT
Load TRG_SALES
These components are inserted in the Package and appear as steps in the diagram. Note that
the steps are not sequenced yet.
defined in Section 7.2.4.2, "Insert the Steps in the Package", the Delete Target
procedure is already identified as the first step and the first step symbol is displayed
on the step's icon. If this is the case, define the next steps on success.
1.
2.
Select First Step from the contextual menu. A small green arrow appears on this
step.
Defining the Next Steps on Success
To define the next steps on success:
1. In the Package toolbar tab, select Next Step on Success.
A green arrow representing the success path between the steps, with an ok label on it
appears.
4. Repeat this operation to link all your steps in a success path sequence. This
78
5. From the File main menu, select Save. The package is now ready to be executed.
79
80
1. In the Session List accordion in Operator Navigator, expand the All Executions node.
2. Refresh the displayed information by clicking Refresh in the Operator Navigator toolbar.
8.1.3.1
81
3. Expand the Load Sales Administration Package Session and open the Session Step Editor
section that the loading of the TRG_CUSTOMER table produced 31 inserts and
isolated 2 errors in an error table.
Note: Your individual results may vary. This is fine as long as the overall execution is
successful.
Figure 82 shows the Record Statistics section of the Session Step Editor:
Figure 82 Record Statistics in the Session Step Editor
8.1.3.2
Note that you can also select Data... to view and edit the data of the target table. The View
Data Editor is displayed as shown in Figure 83.
Figure 83 View Data Editor
82
8.1.3.3
The mapping that you have executed has identified and isolated 2 invalid records in an
error table that was automatically created for you.
In this error table, you can see that the mapping rejected:
Records that did not satisfy the FK_CUST_CITY constraint (for example, the CITY_ID
value does not exist in the table of cities TRG_CITY table).
You can use the ODI_CHECK_DATE field to identify the records rejected for your latest
execution.
The invalid records were saved into an error table and were not integrated into the target
table.
83
This chapter describes how to run the Load Sales Administration Package in a production
environment.
This chapter includes the following sections:
Section 9.1, "Introduction"
Section 9.2, "Scenario Creation"
Section 9.3, "Run the Scenario"
Section 9.4, "Follow the Execution of the Scenario"
9.1 Introduction
The automation of the data integration flows is achieved by sequencing the execution of the
different steps (mappings, procedures, and so forth) in a package and by producing a
production scenario containing the ready-to-use code for each of these steps.
Chapter 7, "Working with Packages" describes the first part of the automation process:
sequencing the execution of the different processes in a Package.
This chapter describes the second part: how to produce a scenario that runs automatically the
Load Sales Administration Package in a production environment.
84
3. The Name and Version fields of the Scenario are preset. Leave these values and click
OK.
4. Oracle Data Integrator processes and generates the scenario. The new scenario
appears on the Scenarios tab of the Package Editor and in the Demo Project as shown in
Figure 92.
Figure 92 LOAD_SALES_ADMINISTRATION Scenario
85
86
10.1Introduction
The demo environment used for this Getting Started tutorial also includes two
installations of Oracle GoldenGate 12c. A source installation is used to capture
data from the Orders Application schema while a target installation delivers the
captured data into the Sales Administration schema. Once the data has been
replicated by GoldenGate ODI will detect the changed records and perform some
transformations before inserting the data into the final target table.
Figure 10-1 Real-time data integration architecture with GoldenGate and Data Integrator
In this chapter we will configure Oracle GoldenGate through ODI Studio using
the following Journalization Knowledge Module: JKM Oracle to Oracle Consistent
(OGG Online).
87
Please refer to the Connectivity and Knowledge Modules Guide for Oracle Data
Integrator for more information about the GoldenGate Knowledge Modules and
how the two products integrate.
The Using Journalizing chapter of the Developers Guide for Oracle Data Integrator
contains valuable information about the Changed Data Capture framework in
ODI.
88
The demonstration environment provides the objects you will need in order to use Oracle
Data Integrator and Oracle GoldenGate together:
In the Models accordion, you will find the data models corresponding to the
Orders Application, Parameters, and Sales Administration applications:
o The Orders Application model contains a single datastore called
OGG_CUSTOMER which contains the data that will be captured and
replicated by Oracle GoldenGate.
o The Sales Administration model contains several datastores including
OGG_CUSTOMER which is a copy of the OGG_CUSTOMER datastore seen in
the Orders Applications model. This table is the target of the Oracle GoldenGate
processes and the changed records will be replicated into it from the
OGG_CUSTOMER table contained in the Orders Applications model.
This model also contains the TRG_CUSTOMER datastore which is the final
target table and will be populated by ODI using the changed data replicated
by GoldenGate.
89
In the Projects accordion, you will find the ODI and OGG Integration Demonstration
project and two folders Initial Load and Sync Data which already contain several
mappings you will be using in this chapter.
o The Initial Load folder contains a Mapping named Initial Load Staging
which is used to perform the initial load of the OGG_CUSTOMER table in
the Sales Administration model
Figure 10 4 Initial Load folder
The necessary Knowledge Modules (KM) are already available in the ODI and OGG
Integration Demonstration project:
CKM Oracle
90
Open up the Topology Navigator and expand the Physical Architecture and
Technologies nodes.
2.
Scroll down in the Technologies list and expand the Oracle GoldenGate node.
Figure 106 Oracle GoldenGate technology
3.
91
The JAgent processes are not yet running we will start them once we will have finished the
GoldenGate configuration in Designer and we will come back to Topology to test the
connections.
10.3Initial load
Before we load the data and start the changed data capture processes we will look at the data contained in
our source (OGG_CUSTOMER in Orders Application model), staging (OGG_CUSTOMER in Sales
Administration model) and target (TRG_CUSTOMER in Orders Application model) tables.
2.
Double-click on the ODI and OGG Demo Client shortcut on the Linux desktop.
Figure 10-8 Starting the ODI and OGG Demo Client
This client is not part of ODI or GoldenGate and was created specifically to showcase the
integration between the two products. Once the client is opened it will show the Staging and
92
Target tables as empty. We will first do their initial load and then stream and transform the
data into the target table.
Note: If the Staging and Target tables are not empty you can truncate them using the Clean Up
Target Tables Procedure available in the Initial Load folder in ODI Studio. Simply run this
procedure to clean up the environment.
Go back to Designer, expand the Initial Load folder and expand the Mappings node.
The Mapping called Initial Load Staging will be doing a bulk load from the source table
OGG_CUSTOMER in the Orders Application model into the OGG_CUSTOMER table in
the Sales Administration model
2.
93
Leave the default settings and click OK in the Run window and then click OK again to
close the Information window.
3.
Go back to the ODI and OGG Demo Client window and you will now see that the
Staging table has been populated as shown below
Figure 10-10 ODI and OGG Demo Client
We will now perform the initial load of TRG_CUSTOMER in the Sales Administration model.
1.
Go back to Designer
2.
94
Right-click on it and select Run then leave the default settings in the Run window and
click OK to close the Information window.
3.
Now expand the Sync Data folder and expand the Mappings node. The Mapping called
Load TRG_CUSTOMER will be doing a bulk load from the staging table
OGG_CUSTOMER in the Sales Administration model into the TRG_CUSTOMER table
in the same model
4.
95
Leave the default settings, make sure you are using the Bulk Load Deployment
Specification and click OK in the Run window and then click OK again to close the
Information window.
96
5.
Go back to the ODI and OGG demo client window and you will now see that the
Target table has been populated as shown below
Figure 10-13 ODI and OGG Demo Client
Note: If TRG_CUSTOMER is not getting populated it is most likely due to the missing
reference data. Please run the scenario LOAD_REFERENCE_DATA as mentioned in
Step #2 above and then run Load TRG_CUSTOMER again.
Now that we have data in all our tables we can start the GoldenGate processes,
initialize the ODI CDC infrastructure and propagate changed records from the source
table OGG_CUSTOMER in the Orders Application model into the target table
TRG_CUSTOMER in the Sales Administration model.
2.
Double-click on the Orders Application model to open it and click on the Journalizing
panel.
Figure 1014 Orders Application model Journalizing panel
The Journalizing panel is where the mechanisms used for Changed Data Capture in
ODI are set up. In this example we use Oracle GoldenGate to detect and replicate
changed records, to do so we have picked the JKM Oracle to Oracle Consistent (OGG
97
You can optionally go back to Topology and under Physical Architecture, expand
OGG_Source and open up the CAP Physical Schema underneath it to review the
capture process settings as shown in the figure below.
Figure 1015 GoldenGate Capture process configuration
Now that we have reviewed the GoldenGate settings we can start it in this environment.
For more information about the ODI CDC framework or the GoldenGate parameters please
refer to the resources mentioned in section 10.1 Introduction.
98
4.
5.
Start the GoldenGate Capture and Delivery processes using the StartOGG command.
It will start the Manager and JAgent processes for both the GoldenGate source and
target.
Figure 10-16 Start GoldenGate using Start OGG
6.
Wait a minute so the script can complete and go back to ODI Studio and go to
Topology open up OGG_Source then click on Test Connection and finally on Test as
shown below.
Figure 10-17 Testing GoldenGate JAgent connection
The test results should show a successful connection, you can repeat the same steps
for OGG_Target.
The GoldenGate infrastructure is running fine, we can finish the configuration.
1.
Go back to Designer
2.
Right-click on the Orders Application model and select Changed Data Capture then Add
to CDC. This will register all the datastores contained in that model into the ODI
Changed Data Capture framework. Click Yes to close the Question window.
99
3.
Next we will add a Subscriber to the ODI CDC infrastructure. A subscriber is an alias
representing a process interested in changed data. Since we can have multiple
processes interested in the same changed data we can define multiple subscribers.
Each subscriber can move the changed data when needed without impacting the other
ones.
Right-click on the Orders Application model and select Changed Data Capture then
Subscriber and finally click on Subscribe
100
In the Select your Subscriber(s) window enter ODIDEMO in the List of Subscribers to Add
field then click on the + icon to add ODIDEMO to the list. Click OK when done.
Figure 10-20 Enter Subscriber name
101
Click OK in the Run window and finally click OK to close the Information window.
4.
A Session is now running, go to Operator to verify that all the steps were executed
correctly as shown in Figure 10-22 below. Click on the Refresh button as needed.
Figure 10-21 Session monitoring in Operator
5.
Go back to Designer and right-click on the Orders Application model and select Changed
Data Capture then Start Journal
102
Leave the default settings and click OK in the Run window and finally click OK to
close the Information window.
We can monitor the status of the new Session in Operator, go there to verify that all
the steps were executed correctly as shown in Figure 10-23 below
103
Some Tasks will show a warning status (yellow icon) which is fine as long as Step 1 Orders Applications is successful (green icon).
2.
Expand the Sync Data folder then expand the Mappings node
3.
104
As you can see the Journalized Data Filter is set to use the ODIDEMO Subscriber that
was previously registered in the ODI CDC framework.
4.
105
5.
Two deployment specifications have been created in this getting started environment.
Bulk Load does a bulk insert into TRG_CUSTOMER and was previously used to
perform an initial load of the target table.
Trickle Feed performs an incremental load of TRG_CUSTOMER using the changed
data coming from Oracle GoldenGate.
6.
7.
106
This enables us to create a single logical Mapping design and apply it to multiple
physical scenarios:
a.
b.
2.
This package will wait for new changes to be replicated by Oracle GoldenGate and
upon detection it will move and transform the replicated data from the staging table
into the target table using Data Integrator.
The ODI Tool step Wait for Changes is doing the CDC detection using
OdiWaitForLogData, it is waiting for some changed records to be published by
GoldenGate. Once the detection is successful the next Model step Extend and Lock will
logically lock the records that will be moved for our ODIDEMO subscriber.
107
The Mapping Load TRG_CUSTOMER will load the changed data using the Trickle Feed
physical design and the ODIDEMO Subscriber as we have seen in section 10.3.3.
Once the Mapping is executed the Model step Purge and Unlock removes the logical
lock on the changed records and purges them for the ODIDEMO Subscriber.
Finally the Package ends with a step executing a Scenario. It allows us to essentially
loop through the same Package creating a new Session for every execution. This is a
best practice rather than creating the loop directly in the Package as this allows us to
better control the overall execution.
3.
Right-click on the Sync Data Package and select Run to start its execution
Figure 10-28 Execute Sync Data Package
Leave the default settings and click OK in the Run window and finally click OK to
close the Information window.
4.
Go to Operator and review the Session execution. Expand the Session List accordion
then expand Date, Today and the Session named Sync Data as shown below
Figure 10-29 Sync Data Package Execution in Operator
108
The Package execution is waiting on the Wait for Changes step which is expected. We
now have to make some changes in the source data using the ODI and OGG Demo
Client.
5.
Go back to the ODI and OGG Demo Client window and make some changes in the
source table such as changing the first name of several records. You will then see the
changed data being propagated first by GoldenGate from Source to Staging then by
Data Integrator from Staging to Target. The changed records are highlighted in yellow
as seen in Figure 10-29 below.
Figure 10-30 ODI and OGG Demo Client
6.
You can go back to Operator to see the new SYNC_DATA Sessions that were triggered
by the changed data detection.
7.
Optionally, you can stop the Scenario execution from Operator. Right-click on the
Scenario currently in Running status (green Play button) and select Stop Immediate.
Click OK in the Stop Session window.
Figure 10-31 Stop Scenario execution from Operator
You have successfully moved and transformed changed records using Oracle Data Integrator
and Oracle GoldenGate.
109
11.1Summary
Congratulations! You have now completed an ETL project and learned about the
fundamentals of Oracle Data Integrator. You have also learned about the ODI Changed Data
Capture framework and used it with Oracle GoldenGate.
In this Getting Started guide, you learned how to:
Create mappings to load the data from the Orders Application and Parameters
applications into the Sales Administration data warehouse (Chapter 5, "Working with
Mappings")
Define and implement data integrity rules in the Orders Application application (Chapter 6,
"Implementing Data Quality Control")
Sequence your developments (Chapter 7, "Working with Packages")
Prepare your process for deployment (Chapter 9, "Deploying Integrated
Applications")
Use Oracle Data Integrator and Oracle GoldenGate together (Chapter 10,
Using Oracle Data Integrator with Oracle GoldenGate)
Navigator
110
3. Select Smart Import and browse to the Smart Import xml file,
ODI12cGettingStartedSolution.xml
Figure 11-2 Starting the ODI Smart Import and Selecting the File Name
Demonstration is imported.
Please reference the ODI Documentation for further instruction or questions on
how to import.
http://www.oracle.com/technetwork/middleware/dataintegrator/documentation/index.html
111
112
11.3Learn More
You can learn more about creating your own integration projects with Oracle Data
Integrator in the guides listed in Table 101.
Table 111
Document
Oracle Fusion Middleware Installation Guide for Oracle Data
Integrator
Oracle Fusion Middleware Upgrade Guide for Oracle Data
Integrator
Oracle Fusion Middleware Developer's Guide for Oracle Data
Integrator
Oracle Fusion Middleware Connectivity and Knowledge
Modules Guide for Oracle Data Integrator
Oracle Fusion Middleware Knowledge Module Developer's
Guide for Oracle Data Integrator
Description
Provides Oracle Data Integrator installation
information including pre-installation requirements
and troubleshooting.
Provides 12c upgrade information for Oracle Data
Integrator.
Provides guidelines for developers interested in using
Oracle Data Integrator for integration projects.
Describes Oracle Data Integrator Knowledge Modules
and technologies and how to use them in integration
projects.
Describes how to develop your own Knowledge
Modules for Oracle Data Integrator.
If you have any questions, comments or feedback regarding the Getting Started
Demonstration and Environment, feel free to discuss on the ODI OTN Forum:
https://forums.oracle.com/community/developer/english/business_intelligence/system_
management_and_integration/data_integrator
The Oracle Data Integrator home page on the Oracle Technology Network also provides
the following resources to learn more about other features of Oracle Data Integrator:
http://www.oracle.com/technetwork/middleware/data-integrator/overview/index.html
View the Oracle by Example Series for ODI. The Oracle by Example (OBE) series
provides step-by-step instructions on how to perform a variety of tasks using Oracle
Data Integrator Suite.
You can find all Oracle Data Integrator documentation on the Oracle Data Integrator
documentation page on the Oracle Technology Network, at:
http://www.oracle.com/technetwork/middleware/data-integrator/documentation/index.html
To learn more about the new features that have been introduced in Oracle Data
Integrator 12c, see "What's New in Oracle Data Integrator?" in the Oracle Fusion
Middleware Developer's Guide for Oracle Data Integrator and the Release Notes.
Thank you for choosing Oracle Data Integrator
113
Oracle Corporation
Copyright 2014, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and
World Headquarters
the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are
U.S.A.
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any
means, electronic or mechanical, for any purpose, without our prior written permission.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0612
114