Professional Documents
Culture Documents
Informatica PowerCenter
(Version 8.6.1)
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica Customer Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica How-To Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Informatica Knowledge Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Informatica Global Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
iv
Table of Contents
Preface
The PowerCenter Data Federation Guide provides information to install the Data Federation Option and use
the Data Federation Option to extract and load federated data. It is written for database administrators and
developers responsible for configuring mappings and sessions for extracting and loading federated data. It is also
written for Data Analyzer administrators and developers who want to use Data Analyzer to view virtual database
reports.
This book assumes you have knowledge of relational database concepts and database engines, PowerCenter, and
Composite Information Server.
Informatica Resources
Informatica Customer Portal
As an Informatica customer, you can access the Informatica Customer Portal site at http://my.informatica.com.
The site contains product information, user group information, newsletters, access to the Informatica customer
support case management system (ATLAS), the Informatica How-To Library, the Informatica Knowledge Base,
Informatica Documentation Center, and access to the Informatica user community.
Informatica Documentation
The Informatica Documentation team takes every effort to create accurate, usable documentation. If you have
questions, comments, or ideas about this documentation, contact the Informatica Documentation team
through email at infa_documentation@informatica.com. We will use your feedback to improve our
documentation. Let us know if we can contact you regarding your comments.
features. It includes articles and interactive demonstrations that provide solutions to common problems,
compare features and behaviors, and guide you through performing specific real-world tasks.
WebSupport requires a user name and password. You can request a user name and password at
http://my.informatica.com.
Use the following telephone numbers to contact Informatica Global Customer Support:
vi
Preface
Asia / Australia
Informatica Corporation
Headquarters
100 Cardinal Way
Redwood City, California
94063
United States
Informatica Business
Solutions Pvt. Ltd.
Diamond District
Tower B, 3rd Floor
150 Airport Road
Bangalore 560 008
India
Toll Free
+1 877 463 2435
Toll Free
00 800 4632 4357
Toll Free
Australia: 1 800 151 830
Singapore: 001 800 4632
4357
Standard Rate
Brazil: +55 11 3523 7761
Mexico: +52 55 1168 9763
United States: +1 650 385 5800
Standard Rate
Belgium: +32 15 281 702
France: +33 1 41 38 92 26
Germany: +49 1805 702 702
Netherlands: +31 306 022 797
Spain and Portugal: +34 93 480 3760
United Kingdom: +44 1628 511 445
Standard Rate
India: +91 80 4112 5738
CHAPTER 1
Extending a Composite data source with data from any supported PowerCenter source using ODBC
PowerCenter integrates with the following components of Composite Information Server to provide federated
data access:
Composite Server. Core run-time environment that lets users access data sources through JDBC and
ODBC. The Composite Server also hosts a metadata repository to store Composite metadata. PowerCenter
connects to the Composite Server to read source data, import views, and write target data. Data Analyzer
connects to the Composite Server to retrieve data for reports.
Composite JDBC. Lets clients access the Composite Server with a JDBC driver. Use the JDBC driver when
you want to use Composite as a data source in Data Analyzer.
Composite ODBC. Lets clients access the Composite Server with an ODBC driver. Use the ODBC driver
when you want to import Composite data services as source or target definitions in PowerCenter and run
sessions that read from and write to Composite.
Composite Information Server also includes Composite Studio. Composite Studio provides an interface to
manage virtual databases. You can import Composite virtual databases you define in Composite Studio as
PowerCenter source and target definitions. You can import Composite views as PowerCenter mappings. You
can also access virtual database views through Data Analyzer to view Data Analyzer reports.
The following figure shows the integration between Composite Information Server and PowerCenter and Data
Analyzer:
RDBMS
Composite
Server
ODBC/SOAP
JDBC
Application
Data Analyzer
Composite
Database
Read data from a Composite virtual database. Useful for data warehouse prototyping and application
migration prototyping. For more information, see Reading from Composite Virtual Databases on page 7.
Extend Composite data sources by writing data to Composite Information Server. Useful for populating a
virtual database with data from any supported PowerCenter source through ODBC or web services. For
more information, see Extending Composite Data Sources on page 11.
Profile Composite virtual database data. Useful for verifying assumptions about source data. For more
information, see Profiling Data in a Virtual Database on page 13.
View virtual database data in Data Analyzer. Useful for obtaining a single view of the customer. Also useful
for viewing reports on virtual database data originating from any source that PowerCenter supports. For
more information, see Viewing Virtual Database Data in Data Analyzer on page 13.
You can also use the Data Federation option for other tasks in Composite Information Server.
Optionally, purchase the PowerCenter Data Profiling option. If you want to use Data Profiling with the
Data Federation option, purchase a PowerCenter Data Profiling option.
Install Microsoft .NET Framework. The Data Federation option on Windows requires Microsoft .NET
Framework 2.0. You can download Microsoft .NET Framework 2.0 from the following web site:
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx
Install PowerCenter.
2.
Install the Data Federation option. Follow the instructions in the installation program. After the
installation is complete, the Composite Server starts. The Composite Server validates the Data Federation
option license.
3.
Import the SQLNormalizer.car file into Composite Studio. For more information, see Importing
SQLNormalizer.car on page 4.
4.
Install the Composite ODBC driver on the machine hosting the PowerCenter Client. For more
information, see Installing the Composite ODBC Driver on page 4.
5.
Configure ODBC data sources. Configure Composite ODBC data sources when you want to use
PowerCenter to read data from and write data to a Composite virtual database. For more information, see
Configuring a Composite ODBC Data Source on page 4.
6.
Optionally, copy the Composite JDBC driver to the Data Analyzer installation directory. Copy the
Composite JDBC driver if you want to view reports on data in a Composite virtual database using Data
Analyzer. For more information, see Using Composite with Data Analyzer on page 5.
Importing SQLNormalizer.car
The Data Federation option requires that you import the file SQLNormalizer.car into Composite Studio.
SQLNormalizer.car is provided on the Data Federation option installation DVD.
To import SQLNormalizer.car into Composite Studio:
1.
2.
3.
Import the SQLNormalizer resource into the root node (Desktop) of the resource tree.
SQLNormalizer.car is in the following location on the Data Federation option installation DVD:
\PowerCenterMetadataExchange\CompositeMetadataExchangeProcedure\SQLNormalizer.car
4.
5.
Click Import.
6.
2.
3.
4.
Import Composite data services as source and target definitions in the PowerCenter Designer. Configure
Composite ODBC data sources on the machine hosting the PowerCenter Client.
Read data from a Composite virtual database. Configure Composite ODBC data sources on the node
hosting the Integration Service.
Extend Composite data sources. Configure Composite ODBC data sources on the node hosting the
Integration Service.
Create an ODBC data source for each Composite virtual database you want to read from or write to. You must
publish the data source as a data service in Composite before you can access the data source through ODBC.
You may also need to configure ODBC data sources for the components of Composite Information Server to
interact with each other.
For more information about configuring a Composite ODBC data source on Windows, see the Composite
Users Guide. For more information about configuring a Composite ODBC data source on UNIX, see the
Composite Installation and Administration Guide.
CHAPTER 2
Overview, 7
Overview
You can read data from a Composite virtual database and write data to a data warehouse or other PowerCenter
target. You might want to do this in the following cases:
When you prototype data migration from one application to another. For example, you want to migrate
data from a legacy system to a new system. Before you migrate data, create a virtual database that allows you
to see the results of the migration. When you are ready to migrate the data, use the Data Federation Option
to read the data from the virtual database and load it into the new system.
When you prototype a data warehouse. For example, you want to view data in a virtual database before you
load it to the physical data warehouse. You can use the virtual database to prototype the data warehouse.
After you successfully prototype the data warehouse, use the Data Federation Option to read the data from
the virtual database and load it into the new data warehouse.
When you read data from a Composite virtual database, you create a mapping in PowerCenter with a
Composite data service as a source. You can create a mapping with a data service as a source in the following
ways:
Create a mapping from a Composite view. Use the Data Federation Metadata Wizard to import Composite
views as PowerCenter mappings. The Data Federation Metadata Wizard uses SQL of a view to create
sources, transformations, and ODBC targets. For more information, see Creating Mappings from
Composite Views on page 8.
Create a source definition based on a Composite data service and manually create the mapping. Use the
Data Federation Option to import Composite data sources. Or, create the source definitions manually. You
can then create mappings that use the sources you create. For more information, see Creating Source
Definitions on page 9.
You also create a PowerCenter workflow with a relational database connection that reads from a Composite
data service and writes the data to a target. Select ODBC as the connection type. When you configure the
workflow, select the relational database connection as the source connection.
m_df_Service1/View2. Contains ODBC sources View3 and View4, and ODBC target View2.
1.
In the PowerCenter Designer, open the folder where you want to import the views.
2.
3.
4.
Description
Server Name
Port Number
User Name
Password
Password for the user account that logs in to the Data Federation server.
5.
Click Next.
6.
7.
To save the metadata information for the views to an XML file, enable Save Imported Metadata to File, and
enter a file name.
8.
Click Next.
The Data Federation Metadata Wizard translates the views to XML so that it can import them as
mappings. It displays the translation status and mapping name for each view.
If the translation status shows Failed or Warning, you can click the status to get information.
9.
To save the status to a log file, enable Save Status Log, and enter a name for the log file.
10.
2.
Click Sources > Import from Database to create a source definition from a Composite data service.
3.
Select the ODBC data source used to connect to the Composite data service.
If you need to create or modify an ODBC data source, click the Browse button to open the ODBC
Administrator. Create the appropriate data source and click OK. Select the new ODBC data source.
4.
Enter a user name and password to connect to the Composite data service.
Note: The user name must have the appropriate permissions to view the object.
10
5.
Click Connect.
6.
If no table names appear or if the data service you want to import does not appear, click All.
7.
CHAPTER 3
ODBC. The Integration Service can read data from PowerCenter sources and write the data to a Composite
virtual database using ODBC.
Web Services Provider. Composite can consume data from PowerCenter sources using web services.
11
2.
Select the ODBC data source used to connect to the Composite data service.
If you need to create or modify an ODBC data source, click the Browse button to open the ODBC
Administrator. Create the appropriate data source and click OK. Select the new ODBC data source.
3.
Enter a user name and password to connect to the Composite data service.
Note: The user name must have the appropriate permissions to view the object.
4.
Click Connect.
5.
If no table names appear or if the data service you want to import does not appear, click All.
6.
2.
3.
When you configure the session for the workflow, change the reader from Flat File Reader to Web Services
Provider Reader for Flat Files.
4.
5.
You can read data from a source and write data to a Composite cache. If the source data is on mainframe data,
you can use PowerExchange with PowerCenter to read the source data.
12
CHAPTER 4
In the PowerCenter Designer create a source definition based on a Composite data service.
2.
13
To view reports on data in a Composite virtual database, complete the following steps:
1.
2.
3.
4.
Create reports.
Configure a JDBC data source for a Composite virtual database in Data Analyzer.
2.
Create a data connector in Data Analyzer. If you do not already have a data connector, you must create
one. When you create the data connector, add the Composite virtual database data source to the data
connector. If you create a data connector, you can skip the next step.
3.
Add the Composite virtual database data source to a data connector in Data Analyzer. If you already have
a data connector, add the Composite virtual database data source to the data connector. If you recently
created a data connector, you should have already added the Composite virtual database data source to the
data connector.
14
INDEX
D
Data Analyzer
using with Composite Information Server 5
viewing virtual database data 13
data migration
Data Federation option, example 7
Data Profiling
virtual database data 13
data warehouse prototyping
Data Federation option, example 7
P
profiling
See Data Profiling
R
relational database connections
Data Federation Option, configuring 12
Data Federation option, configuring 7
S
SQLNormalizer.car
importing into Composite Studio 4
U
UNIX
Data Federation option, installing 3
JDBC
Composite Information Server JDBC driver 5
L
license
validating for Data Federation option 3
M
mappings
Data Federation option, creating from Composite views 8
Microsoft .NET Framework
installing for Data Federation option 3
15
16
Index
NOTICES
This Informatica product (the Software) includes certain drivers (the DataDirect Drivers) from DataDirect Technologies, an operating company of Progress Software Corporation (DataDirect)
which are subject to the following terms and conditions:
1. THE DATADIRECT DRIVERS ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
2. IN NO EVENT WILL DATADIRECT OR ITS THIRD PARTY SUPPLIERS BE LIABLE TO THE END-USER CUSTOMER FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT OF THE USE OF THE ODBC DRIVERS, WHETHER OR NOT INFORMED OF THE POSSIBILITIES OF DAMAGES IN
ADVANCE. THESE LIMITATIONS APPLY TO ALL CAUSES OF ACTION, INCLUDING, WITHOUT LIMITATION, BREACH OF CONTRACT, BREACH OF WARRANTY,
NEGLIGENCE, STRICT LIABILITY, MISREPRESENTATION AND OTHER TORTS.