Documente Academic
Documente Profesional
Documente Cultură
PowerCenter/
PowerMart
Designer
Last Updated – 30/06/2014
Prepared by Saurastra Ranjan Pattanaik
Designer Workspace
Designer
Windows are:
Navigator
Workspace
Status bar
Output
Instance
Data
Target
Center Of Excellence-Data
Warehousing 3
Source Analyzer
The following types of source definitions can be imported or created or
modified in the Source Analyzer:
Relational Sources – Tables, Views, Synonyms
Center Of Excellence-Data
Warehousing 4
Source Analyzer – Importing
Relational Source Definitions
Can import relational source definitions from database
tables, views, and synonyms
Database location
Column names
Data types
Center Of Excellence-Data
Warehousing 6
Source Analyzer – Flat File
Sources
When you create a flat file source definition, you
must define the properties of the file
The Source Analyzer provides a Flat File Wizard to
prompt you for the following file properties:
File name and location
File type
Center Of Excellence-Data
Warehousing 12
Warehouse Designer
When you import a target definition, the Designer
imports the following target details:
Target name
Database location
Column names
Datatypes
Key constraints
Key Relationships
Center Of Excellence-Data
Warehousing 13
Transformations
A transformation is a repository object that
generates, modifies, or passes data
Transformations can be active or passive
An active transformation can change the number of
rows that pass through it
A passive transformation does not change the
number of rows that pass through it
Transformations can be connected to the data flow,
or they can be unconnected
Center Of Excellence-Data
Warehousing 14
Transformations
Transformation Types:
Advanced External Procedure - Calls a procedure
in a shared library or in the COM layer of
Windows NT
Aggregator - Performs aggregate calculations
ERP Source Qualifier - Represents the rows that
the Informatica Server reads from an ERP source
when it runs a session
Expression - Calculates a value
External Procedure - Calls a procedure in a shared
library or in the COM layer of Windows NT
Center Of Excellence-Data
Warehousing 15
Transformations
Transformation Types Continued…
Filter - Filters records
Center Of Excellence-Data
Warehousing 18
Transformations – Port Default
Values
Can specify a default value for a transformation port with
which Nulls and errors will be overwritten
Without Intervention:
Input ports - Null values are passed without changes
Output ports - Transformation errors are rejected,
sending input rows to session log
With Intervention:
Input ports - Null values will be changed as specified
Output ports - Upon transformation error, the specified
default value will be used
Center Of Excellence-Data
Warehousing 19
Aggregator Transformation
Performs aggregate
calculations
Components of the
Aggregator
Transformation
Aggregate
expression
Group by port
Sorted Input
option
Center Of Excellence-Data
Warehousing Aggregate cache 20
Aggregator Transformation
To configure ports in the Aggregator transformation you
can:
Enter an aggregate expression in any output port, using
conditional clauses or non-aggregate functions in the
port
Create multiple aggregate output ports
Center Of Excellence-Data
Warehousing 21
Aggregator Transformation
Center Of Excellence-Data
Warehousing 24
Filter Transformation
Center Of Excellence-Data
Warehousing 25
Joiner Transformation
Center Of Excellence-Data
Warehousing 27
Joiner Transformation
It can not be used in the following situations:
Both input pipelines originate from the same
Source Qualifier transformation
Both input pipelines originate from the same
Normalizer transformation
Both input pipelines originate from the same
Joiner transformation
Either input pipelines contains an Update
Strategy transformation
Center Of Excellence-Data
Warehousing 28
Lookup Transformation
Used to look up data in a relational table, view, or
synonym
It compares Lookup transformation port values to
lookup table column values based on the lookup
condition
Can use the Lookup transformation to perform many
tasks, including:
Get a related value
Update slowly changing dimension tables
Center Of Excellence-Data
Warehousing 29
Lookup Transformation
Can configure the transformation to be connected or
unconnected, cached or uncached
Cached or uncached Lookups:
Sometimes you can improve session performance by
caching the lookup table
If you cache the lookup table, you can choose to use
a dynamic or static cache
By default, the lookup cache remains static and does
not change during the session
With a dynamic cache, the Informatica Server inserts
rows into the cache during the session
This enables you Center
to look up values in the target and
Of Excellence-Data
insert them if they doWarehousing
not exist 30
Lookup Transformation
Some of the Lookup Transformation
Properties:
Lookup SQL Override
Lookup Table Name
Lookup Caching Enabled
Lookup Condition
Location Information
Center Of Excellence-Data
Warehousing 31
Lookup Transformation
Center Of Excellence-Data
Warehousing 33
Lookup Transformation
Unconnected Lookup Transformation exists
separate from the pipeline in the mapping
You write an expression using the :LKP reference
qualifier to call the lookup within another
transformation
Some common uses for unconnected lookups
include:
Testing the results of a lookup in an expression
Filtering records based on the lookup results
Marking records for update based on the result
of a lookup (for example, updating slowly
changing dimension tables)
Center Of Excellence-Data
Warehousing 34
Lookup Transformation
Center Of Excellence-Data
Warehousing 40
Router Transformation
It has the following
types of groups:
Input
Output
Default group
Center Of Excellence-Data
Warehousing 43
Sequence Generator
Transformation
Generates numeric values
It can be used to
create unique primary key values
replace missing primary keys
cycle through a sequential range of numbers
It provides two output ports: NEXTVAL and CURRVAL
These ports can not be edited or deleted
Can not add ports to the sequence generator
transformation
Center Of Excellence-Data
Warehousing 44
Sequence Generator
Transformation
When NEXTVAL is connected to the input port of
another transformation, the Informatica Server generates
a sequence of numbers
Properties of Sequence Generator Transformation:
Start Value
Increment By
End Value
Current Value
Cycle
User-Defined Join
Source Filter
Select Distinct
Tracing Level
Center Of Excellence-Data
Warehousing 50
Stored Procedure Transformation
A Stored Procedure transformation is
an important tool for populating and maintaining
databases
used to call a stored procedure
Center Of Excellence-Data
Warehousing 52
Stored Procedure Transformation
The following list describes the options for running
a Stored Procedure transformation:
Normal - During a session, the stored
procedure runs where the transformation exists
in the mapping on a row-by-row basis
Pre-load of the Source - Before the session
retrieves data from the source, the stored
procedure runs
Post-load of the Source - After the session
retrieves data from the source, the stored
procedure runs
Pre-load of the Target - Before the session
sends data to the
Centertarget, the stored procedure
Of Excellence-Data
runs Warehousing 53
Stored Procedure Transformation
Operators
Constants
Center Of Excellence-Data
Warehousing 59
Transformation Language
Constants
Functions
Sample Mapping
Center Of Excellence-Data
Warehousing 61
Mapping
The Designer allows you to copy mappings:
Within a folder
Center Of Excellence-Data
Warehousing 63
Mapping - Validation
Center Of Excellence-Data
Warehousing 64
Mapping Wizard
The Designer provides two mapping wizards
Getting Started Wizard
Creates two data flows: one for new rows, one for changed
rows Center Of Excellence-Data
Center Of Excellence-Data
Warehousing 75
Mapping Wizard
Creates two data flows: one for new rows, one for updating
changed rows
Generates a primary Center
keyOfand optionally notes the effective
Excellence-Data
Center Of Excellence-Data
Warehousing 78
Mapping Parameters
It represents a constant value that can be defined
before running a session
It retains the same value throughout the entire
session
Can declare and use the parameter in a mapping or
mapplet
The value of the parameter should be defined in a
parameter file for the session
During the session, the Informatica Server evaluates
all references to the parameter
Center Of Excellence-Data
Warehousing 79
Mapping Variable
It represents a value that can change through session
Can declare the parameter in a mapping or mapplet and
then use a variable function in the mapping to
automatically change the value of the variable
At the beginning of a session, the Informatica Server
evaluates references to a variable to its start value
At the end of a successful session, the Informatica Server
saves the final value of the variable to the repository
Can override the saved value by defining the start value of
the variable in a parameter file for the session
Center Of Excellence-Data
Warehousing 80
Debugger
Can debug a valid mapping to gain troubleshooting
information about data and error conditions
To debug a mapping, you configure and run the Debugger
from within the Mapping Designer
When you run the Debugger, it pauses at breakpoints and
allows you to view and edit transformation output data
After you save a mapping, you can run some initial tests
with a debug session before you configure and run a
session in the Server Manager
Center Of Excellence-Data
Warehousing 81
Debugger
Center Of Excellence-Data
Warehousing 82
Debugger
Can Use the following process to debug a mapping:
Create breakpoints
Debug log
Session log
Target window
Instance window
After you set the instance name, breakpoint type, and optional
data condition, you can view each parameter in the Breakpoints
section of the Breakpoint Editor
Center Of Excellence-Data
Warehousing 84
Debugger
After initialization, the Debugger moves in and out of
running and paused states based on breakpoints and
commands
The Debugger can be in one of the following states:
Initializing - The Designer connects to the
Informatica Server
Running - The Informatica Server processes the data
Center Of Excellence-Data
Warehousing 86
Mapplet
Center Of Excellence-Data
Warehousing 89
Mapplet
The Designer does not support
the following objects in a
mapplet:
COBOL source definitions
Joiner transformations
Normalizer
transformations
Non-reusable Sequence
Generator transformations
Pre- or post-session stored
procedures
Target definitions
PowerMart 3.5-style
Center Of Excellence-Data
Warehousing 90
LOOKUP functions
Mapplet
Source data for a mapplet can originate from one of two
places:
Sources within the mapplet
Sources outside the mapplet
A mapplet can be connected to sources in a mapping by
creating mapplet input ports
By adding an Input transformation to the mapplet, input
ports can be created
Ports in an Input transformation cannot be connected
directly to an Output transformation and each port in it
can be connected to only one transformation
Center Of Excellence-Data
Warehousing 91
Mapplet
Center Of Excellence-Data
Warehousing 95
Business Components
Mapplet
Shortcut to a source
Shortcut to a mapplet
Center Of Excellence-Data
Warehousing 98
Business Components
Since business components are references to another
object, you can edit the object from its original location
or from the business components directory
Can create business components from sources or
mapplets within the repository by creating a local
shortcut
can create business components from sources or
mapplets across repositories by creating a global
shortcut
Center Of Excellence-Data
Warehousing 99
Cubes and Dimensions
Can create multi-dimensional metadata through the
Designer by defining Cubes and Dimensions
Can create and edit cubes and dimensions through
Warehouse Designer interface
A Dimension is a set of level properties that describe a
specific aspect of a business, used for analyzing the
factual measures of one or more cubes which use that
dimension
A Cube is a set of related factual measures, aggregates,
and dimensions for a specific dimensional analysis
problem. Example: regional product sales
Center Of Excellence-Data
Warehousing 100
Questions
Center Of Excellence-Data
Warehousing 101