Download - informatica mapping Designer Tips
1
Informatica Developer:Tips & Tricks for Mapping Designer
Barry WildhagenProfessional Services
2
Agenda
• Introduction
• Designer tips & tricks
• Best practices
• Mapping techniques
• Data Stencil Option
3
Introduction
4
About Me
• Barry Wildhagen
• Senior Consultant
• Informatica Professional Services
• Based in The Netherlands
5
About this Presentation
• Increase developer productivity
• More resources available• http://my.informatica.com• http://devnet.informatica.com• Velocity methodology• Product manuals
• Questions
6
PowerCenter 8 Architecture
Sources Targets
Repository
Integration Service
Repository Service Process
Repository Service
Domain
Administration Console
PowerCenter Client
This session
7
PowerCenter 8 Designer
8
Designer Tips & Tricks
9
User Interface
• Welcome screen
• Repository Navigator
• Output Window
• Workspace
• Toolbars
• Workbook
• Context menu’s
• Options and Customization
10
Using Designer
• Port propagation
• Query
• Tools shortcuts
• Autolink
• Copy/paste
• Create target from transformation
11
Best Practices
12
General Best Practices
• Naming conventions
• Use comments in objects
• Avoid implicit data conversion
• Reuse as much as possible
• Only connect what is used
• Utilize single-pass reads
13
Output Filename Port
• Write records to a dynamically named flat file
14
Cache Calculator
• Use the cache calculator for aggregator, joiner, rank, and sorter transformations
15
Group Expression
• Add expression transformation after a source qualifier and before a target
• If source or target definition changes, reconnecting ports is much easier
16
MX Views
• Views in PowerCenter repository
• Based on OPB tables
• Utilized by Repository Reporting (Data Analyzer)
• Contain a lot of valuable information!!
17
Mapping Techniques
18
De-normalizing Data With an Aggregator
YEAR,ACCOUNT,MONTH1,MONTH2,MONTH3, MONTH4, MONTH5, … MONTH121997,Salaries,21000,21000,22000,19000,23000,26000,29000,29000,34000,34000..
Turn multiple rows
Into one row…
19
De-normalizing Data with an Aggregator
The First or Last function will denormalize data
20
Multi-record Lookup
• Regular lookup only returns one row
• Use SQL Transformation to get all rows
21
Data Stencil
22
Data Stencil
• Captures best practice DI methodologies as reusable templates
• Reusable mapping templates defined in Visio
• Automates mapping creation and addresses productivity
• Allows high level design of mappings
• For DI architects
23
Thank You