Metadata Repository
Information about the target system
Catalogs the repository
Directs the server
Contains record of user access
Can be shared
Can be searched and reported
Bridged through Metadata Exchange
8
New Concept Training Center
4
DATA WAREHOUSE
Cognos PPES
Repository Manager
9
Repository Manager Navigator
10
New Concept Training Center
5
DATA WAREHOUSE
Cognos PPES
Create Repository
Launch the Repository Manager
Repository – Connect to Repository Server
11
1. Create the configuration
In Manage Repository window
Configuration - Create
Informatica Server can not start up without repository
NO REPOSITORY
14
New Concept Training Center
7
DATA WAREHOUSE
Cognos PPES
Create a group
Connect to the repository using repository manager
SecurityÆManage Groups
15
Assign Privileges to a Group
16
New Concept Training Center
8
DATA WAREHOUSE
Cognos PPES
Creating a new user
17
User Management
Privileges
(issued per login ID and/or group)
Use Designer *
Browse Repository *
Create Sessions and Batches *
Session Operator
Administer Repository
Administer Server
Super User
Permissions
Object Locking
(issued at folder level)
(applied at object level)
Read
Write
Execute
Lock - automatic
Unlock - automatic, manual
* Default privileges to each new user and group
New Concept Training Center
18
9
DATA WAREHOUSE
Cognos PPES
Groups and Privileges
Create users
Create groups
Assign privileges to
groups
Move users into groups
Assign additional privileges to
users
19
Folder Permissions
Assign one user as the folder
permissions
owner for first tier
Select one of the owner’s groups
for second tier
permissions
All users and groups in the
repository will be assigned the
third tier permissions
20
New Concept Training Center
10
DATA WAREHOUSE
Cognos PPES
Designer Tools
21
Designer Windows
22
New Concept Training Center
11
DATA WAREHOUSE
Cognos PPES
Working with Sources
Relational Source
Oracle
Sybase
Informix
SQL Server
DB2
MS Excel Source
Cobol Source
Flat files
XML sources
23
Working with Relational source
24
New Concept Training Center
12
DATA WAREHOUSE
Cognos PPES
Analyze Sources
Import from Database
Import from Files
Flat File
Excel file
XML file
Import from Cobol File
Repository
Create manually
Transfer from data modeling
tools via PowerPlugs
Relational
Diff Type
Of files
COBOL file
Data Model
25
Relational Source Analysis
Source Analyzer
Relational Source
OD
BC
Table
View
O
D
B
C
Synonym
DEF
DEF
Repository
26
New Concept Training Center
13
DATA WAREHOUSE
Cognos PPES
Import from relational database
27
Import from relational database
After import, chose Repository Æ Save
Create tables that do not already exist in target database
Connect - connect to the target database
Generate SQL file - create DDL in a script file
Edit SQL file - modify DDL script as needed
Execute SQL file - create the physical tables in target database
Connect
46
New Concept Training Center
23
DATA WAREHOUSE
Cognos PPES
Mappings and Mapplets
47
Sample Mapping
48
New Concept Training Center
24
DATA WAREHOUSE
Cognos PPES
Steps to develop a mapping
Verify that all source, target, and reusable objects are
created
Create the mapping (Open the Mapping Designer, chose
MappingÆCreate or drag a repository object into the
workspace, enter a name for the new mapping e.g.
m_PromotionItems)
Add sources and targets
Add transformations and transformation logic
Connect the mapping
Validate the mapping
Save the mapping
49
Mapping Object Edit View
50
New Concept Training Center
25
DATA WAREHOUSE
Cognos PPES
Connecting mapping objects
51
Working with source in a mapping
52
New Concept Training Center
26
DATA WAREHOUSE
Cognos PPES
Working with transformation in a mapping
53
Working with Mapplets in a mapping
54
New Concept Training Center
27
DATA WAREHOUSE
Cognos PPES
Working with Targets in a mapping
55
Working with Targets in a mapping
56
New Concept Training Center
28
DATA WAREHOUSE
Cognos PPES
Relational Target
57
Mapping Validation
58
New Concept Training Center
29
DATA WAREHOUSE
Cognos PPES
Mapplets Overview
59
Sample Mapplet
60
New Concept Training Center
30
DATA WAREHOUSE
Cognos PPES
Sample Mapplet in a mapping
61
Expanded Mapplet in a mapping
62
New Concept Training Center
31
DATA WAREHOUSE
Cognos PPES
Transformation
63
Transformation Type -1
64
New Concept Training Center
32
DATA WAREHOUSE
Cognos PPES
Transformation Type -2
65
Creating a transformation
66
New Concept Training Center
33
DATA WAREHOUSE
Cognos PPES
Configuring a transformation
67
Working with Expression
68
New Concept Training Center
34
DATA WAREHOUSE
Cognos PPES
Using Local Variables
69
Using Local Variables sample
70
New Concept Training Center
35
DATA WAREHOUSE
Cognos PPES
Using Default Value
71
Configuring Tracing levels – Session log
72
New Concept Training Center
36
DATA WAREHOUSE
Cognos PPES
Linking Port
73
Auto-Link by position
74
New Concept Training Center
37
DATA WAREHOUSE
Cognos PPES
Auto-Link by Name
75
Auto-Link by Prefix/Suffix
Layout Æ Autolink
76
New Concept Training Center
38
DATA WAREHOUSE
Cognos PPES
Link one to many / many to one
77
Create a reusable transformation
78
New Concept Training Center
39
DATA WAREHOUSE
Cognos PPES
Source Qualifier Transformation
Represents the source record set queried by the server.
Mandatory in mappings using relational or flat file sources.
Source Qualifier Transformation
For relational sources
SQL Query replaces the default query
User Defined Join replaces the WHERE clause of the default query
Source Filter is added to the WHERE clause of the default query
Number of Sorted Ports adds an ORDER BY to the default query
Select Distinct adds a DISTINCT to the default query
80
New Concept Training Center
40
DATA WAREHOUSE
Cognos PPES
Expression Transformation
Perform calculations using non-aggregate Informatica
functions.
Passive Transformation
Connected
Ports
Mixed
Variables allowed
Create expression in an
output port
Usage
Perform majority of
data manipulation
Active Transformation
Connected
Ports
Mixed
Variables allowed
Group By allowed
Create expression in an
output port
Usage
Standard
aggregations
Group By
82
New Concept Training Center
41
DATA WAREHOUSE
Cognos PPES
Sorted Ports
Source Qualifier
Number of Sorted Ports property - will create an ORDER BY
statement in the SQL
Increases performance
for rank, joiner, and aggregator
Aggregator
The Sorted Ports property ONLY works if data has been sorted
Group By ports
MUST be pre-sorted in SQL
MUST be in same order as in SQL
Server will store data for a group into memory, and when it
reaches the first record of the next group, it can release data from
the cache
83
Working with Transformations
Aggregation Mapping
84
New Concept Training Center
42
DATA WAREHOUSE
Cognos PPES
Rank Transformation
Filters the top or bottom range of records.
Active Transformation
Connected
Ports
Mixed
One predefined output
port RANKINDEX
Variables allowed
Group By allowed
Specify the column to be
ranked
Usage
Select top/bottom
number of records
85
Update Strategy Transformation
Used to specify how each individual row will be used to
update target tables (insert, update, delete, reject).
Active Transformation
Connected
Ports
All input/output
Specify the Update
Strategy Expression
Usage
Slowly changing
dimension tables
IIF or DECODE logic
determine how to
handle the record
86
New Concept Training Center
43
DATA WAREHOUSE
Cognos PPES
Lookup Transformation
Looks up values from database objects and provides to
other components in a mapping.
Passive Transformation
Connected/Unconnected
Ports
Mixed
L denotes Lookup port
R denotes port used as
a return value in
unconnected lookup
Specify the Lookup
condition
Usage
Get related values
Update tables
87
Working with Transformations
Update Strategy Mapping
SOURCE
SOURCE
QUALIFIER
LOOKUP
Look up
source
Job_IDs
in target
T_JOBS
UPDATE
STRATEGY
Based upon
match of
Job_IDs,
update the
target
T_JOBS table
TARGET
88
New Concept Training Center
44
DATA WAREHOUSE
Cognos PPES
Filter Transformation
Limits rows sent to targets or other transformations.
Active Transformation
Connected
Ports
All input/output
Specify a Filter condition
Usage
Filter rows from flat
file sources
Single pass source(s)
into multiple targets
89
Stored Procedure Transformation
Calls a database stored procedure.
Passive Transformation
Connected/Unconnected
Ports
Mixed
R denotes port used as
a return value (from a
stored function)
Usage
Perform transformation
logic outside Informatica
90
New Concept Training Center
45
DATA WAREHOUSE
Cognos PPES
Stored Function vs.
Stored Procedure Transformations
ORACLE
STORED FUNCTION
ORACLE
STORED PROCEDURE
Can only return one value
(connected or unconnected
mode)
Can return multiple values (in
connected mode)
Must use the Return (R) port
option for the output port that
provides the return value,
regardless of whether the
transformation is unconnected
or connected.
In a connected mode, use links to
designate return values. In
unconnected mode, use
PROC_RESULT in the parameter list
of the stored procedure call to
designate the return value.
91
Sequence Generator Transformation
Generates unique keys for records.
Passive Transformation
Connected
Ports
Two predefined output
ports, NEXTVAL and
CURRVAL
No input ports allowed
Usage
Generate sequence
numbers
Shareable across
mappings
92
New Concept Training Center
46
DATA WAREHOUSE
Cognos PPES
Working with Transformations
Star Schema Mapping
Filter
filters out
discontinued items
Stored Procedure
calls stored procedure
to calculate the
number of times an
item has been ordered