SlideShare a Scribd company logo
1 of 23
Informatica 
Transformations
IT Courses Online Training 
and Placements 
Quontra Solutions 
Visit Us :http://www.QuontraSolutions.com
Transformations 
• A transformation is a repository object that generates, modifies, 
or passes data 
• The Designer provides a set of transformations that perform 
specific functions 
• Data passes into and out of transformations through ports that 
you connect in a mapping or mapplet 
• Transformations can be active or passive
Transformations 
• Active transformations 
Aggregator performs aggregate calculations 
Filter serves as a conditional filter 
Router serves as a conditional filter (more than one 
filters) 
Joiner allows for heterogeneous joins 
Source qualifier represents all data queried from the source 
• Passive transformations 
Expression performs simple calculations 
Lookup looks up values and passes to other objects 
Sequence generator generates unique ID values 
Stored procedure calls a stored procedure and captures return 
values 
Update strategy allows for logic to insert, update, delete, or 
reject data
Transformations Contd.. 
 Create the transformation. Create it in the Mapping Designer as part of a 
mapping, in the Mapplet Designer as part of a Mapplet, or in the 
Transformation Developer as a reusable transformation. 
 Configure the transformation. Each type of transformation has a unique set 
of options that you can configure. 
 Connect the transformation to other transformations and target definitions. 
Drag one port to another to connect them in the mapping or Mapplet.
Expression Transformation 
You can use the Expression transformations to calculate values in a single row 
before you write to the target. 
For example, you might need to adjust employee salaries, concatenate first and 
last names, or convert strings to numbers. 
You can use the Expression transformation to perform any non-aggregate 
calculations. 
You can also use the Expression transformation to test conditional statements 
before you output the results to target tables or other 
transformations.
Expression Transformation 
Calculating Values 
To use the Expression transformation to calculate values for a single row, you must 
include the following ports: 
 Input or input/output ports for each value used in the calculation. For 
example, when calculating the total price for an order, determined by 
multiplying the unit price by the quantity ordered, the input or input/output 
ports. One port provides the unit price and the other provides the quantity 
ordered. 
 Output port for the expression. You enter the expression as a configuration 
option for the output port. The return value for the output port needs to 
match the return value of the expression. 
 Variable Port : Variable Port is used like local variable inside Expression 
Transformation , which can be used in other calculations
Source Qualifier Transformation 
Every mapping includes a Source Qualifier transformation, 
representing all the columns of information read from a 
source and temporarily stored by the Informatica Server. In 
addition, you can add transformations such as a calculating 
sum, looking up a value, or generating a unique ID that 
modify information before it reaches the target.
Source Qualifier Transformation 
When you add a relational or a flat file source definition to a mapping, you need to connect it to a Source 
Qualifier transformation. 
The Source Qualifier represents the records that the Informatica Server reads when it runs a session. You can 
use the Source Qualifier to perform the following tasks: 
• Join data originating from the same source database. You can join two or more tables with primary-foreign 
key relationships by linking the sources to one Source Qualifier. 
• Filter records when the Informatica Server reads source data. If you include a filter condition, the 
Informatica Server adds a WHERE clause to the default query. 
• Specify an outer join rather than the default inner join. If you include a user-defined join, the 
Informatica Server replaces the join information specified by the metadata in the SQL query. 
• Specify sorted ports. If you specify a number for sorted ports, the Informatica Server adds an ORDER 
BY clause to the default SQL query. 
• Select only distinct values from the source. If you choose Select Distinct, the Informatica Server adds a 
SELECT DISTINCT statement to the default SQL query. 
• Create a custom query to issue a special SELECT statement for the Informatica Server to read source 
data. For example, you might use a custom query to perform aggregate calculations or execute a 
stored procedure
Configuring Source Qualifier Transformation 
To configure a Source Qualifier: 
• In the Designer, open a mapping. 
• Double-click the title bar of the Source Qualifier. 
• In the Edit Transformations dialog box, click Rename, enter a 
descriptive name for the transformation, and click OK. The 
naming convention for Source Qualifier transformations is 
SQ_TransformationName,. 
• Click the Properties tab.
Configuring Source Qualifier 
Option Description 
SQL Query 
Defines a custom query that replaces the default query the Informatica 
Server uses to read data from sources represented in this Source 
Qualifier 
User- 
Defined 
Join 
Specifies the condition used to join data from multiple sources 
represented in the same Source Qualifier transformation 
Source 
Filter 
Specifies the filter condition the Informatica Server applies when 
querying records. 
Number of 
Sorted 
Ports 
Indicates the number of columns used when sorting records queried 
from relational sources. If you select this option, the Informatica 
Server adds an ORDER BY to the default query when it reads source 
records. The ORDER BY includes the number of ports specified, 
starting from the top of the Source Qualifier. 
When selected, the database sort order must match the session sort 
order. 
Tracing 
Level 
Sets the amount of detail included in the session log when you run a 
session containing this transformation. 
Select 
Distinct 
Specifies if you want to select only unique records. The Informatica 
Server includes a SELECT DISTINCT statement if you choose this 
option.
Joiner Transformation 
While a Source Qualifier transformation can join data originating from a common source 
database, the Joiner transformation joins two related heterogeneous sources residing in 
different locations or file systems. The combination of sources can be varied. You can use 
the following sources: 
• Two relational tables existing in separate databases 
• Two flat files in potentially different file systems 
• Two different ODBC sources 
• Two instances of the same XML source 
• A relational table and a flat file source 
• A relational table and an XML source 
If two relational sources contain keys, then a Source Qualifier transformation can easily 
join the sources on those keys. Joiner transformations typically combine information from 
two different sources that do not have matching keys, such as flat file sources. 
The Joiner transformation allows you to join sources that contain binary data.
Creating a Joiner Transformation 
To create a Joiner Transformation: 
• In the Mapping Designer, choose Transformation-Create. Select the 
Joiner transformation. Enter a name for the Joiner. Click OK. The naming 
convention for Joiner transformations is JNR_TransformationName. Enter 
a description for the transformation. This description appears in the 
Repository Manager, making it easier for you or others to understand or 
remember what the transformation does. 
• The Designer creates the Joiner transformation. Keep in mind that you 
cannot use a Sequence Generator or Update Strategy transformation as a 
source to a Joiner transformation. 
• Drag all the desired input/output ports from the first source into the 
Joiner transformation. The Designer creates input/output ports for the 
source fields in the Joiner as detail fields by default. You can edit this 
property later. 
• Select and drag all the desired input/output ports from the second 
source into the Joiner transformation. The Designer configures the 
second set of source fields and master fields by default. 
• Double-click the title bar of the Joiner transformation to open the Edit 
Transformations dialog box. 
• Select the Ports tab. 
• Click any box in the M column to switch the master/detail relationship 
for the sources. Change the master/detail relationship if necessary by 
selecting the master source in the M column.
Creating a Joiner Transformation 
Select the Condition tab and set the condition.
Configuring Joiner transformation 
Joiner Setting Description 
Case-Sensitive 
String 
Comparison 
If selected, the Informatica Server uses case-sensitive 
string comparisons when performing joins on string 
columns. 
Cache 
Directory 
Specifies the directory used to cache master records and 
the index to these records. By default, the caches are 
created in a directory specified by the server variable 
$PMCacheDir. If you override the directory, be sure there 
is enough disk space on the file system. The directory can 
be a mapped or mounted drive. 
Join Type 
Specifies the type of join: Normal, Master Outer, Detail 
Outer, or Full Outer.
Lookup Transformation 
• Used to look up data in a relational table, view, synonym or Flat File. 
• It compares Lookup transformation port values to lookup table column values based on 
the lookup condition. 
Connected Lookups 
• Receives input values directly from another transformation in the pipeline 
• For each input row, the Informatica Server queries the lookup table or cache based on the 
lookup ports and the condition in the transformation 
• Passes return values from the query to the next transformation 
Un Connected Lookups 
• Receives input values from an expression using the 
• :LKP (:LKP.lookup_transformation_name (argument, argument, ...)) reference 
qualifier to call the lookup and returns one value. 
• With unconnected Lookups, you can pass multiple input values into the transformation, 
but only one column of data out of the transformation
Lookup Transformation 
You can configure the Lookup transformation to perform different types of 
lookups. You can configure the transformation to be connected or unconnected, cached or 
uncached: 
 Connected or unconnected. Connected and unconnected transformations receive input and 
send output in different ways. 
 Cached or uncached. 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. 
Informatica recommends that you cache the target table as the lookup. This enables you to look 
up values in the target and insert them if they do not exist.
Diff bet Connected & Unconnected Lookup 
Connected lookup Unconnected lookup 
1) Receives input values directly 
from of a the pipe line 
transformation. 
Receives input values from the 
result of LKP expression within 
other transformation. 
2) U can use a dynamic or static 
cache 
U can use a static cache. 
3) Cache includes all lookup 
columns used in the mapping. 
Cache includes all lookup out put 
ports. 
4) Support user defined default 
values 
Does not support user defined 
default values
Diff between Static & Dynamic Cache 
Static Cache Dynamic Cache 
1) U can not insert or update 
the cache 
U can insert rows into the cache as u 
pass to the target 
2) The Informatica Server does 
not update the cache while it 
processes the Lookup 
transformation 
The Informatica Server 
dynamically inserts data into the 
lookup cache and passes data to 
the target table.
Update Strategy Transformation 
When you design your data warehouse, you need to decide what type of information 
to store in targets. As part of your target table design, you need to determine 
whether to maintain all the historic data or just the most recent changes. 
For example, you might have a target table, T_CUSTOMERS, that contains customer 
data. When a customer address changes, you may want to save the original address in 
the table, instead of updating that portion of the customer record. In this case, you 
would create a new record containing the updated address, and preserve the original 
record with the old customer address. This illustrates how you might store historical 
information in a target table. However, if you want the T_CUSTOMERS table to be a 
snapshot of current customer data, you would update the existing customer record and 
lose the original address. 
The model you choose constitutes your update strategy, how to handle changes to 
existing records. In Power Mart and Power Center, you set your update strategy at two 
different levels: 
• Within a session. When you configure a session, you can instruct the 
Informatica Server to either treat all records in the same way (for 
example, treat all records as inserts), or use instructions coded into the 
session mapping to flag records for different database operations. 
• Within a mapping. Within a mapping, you use the Update Strategy 
transformation to flag records for insert, delete, update, or reject.
Setting up Update Strategy at Session Level 
During session configuration, you can select a single database operation for all records. For the Treat 
Rows As setting, you have the following options: 
Settin 
g 
Description 
Insert 
Treat all records as inserts. If inserting the record violates a 
primary or foreign key constraint in the database, the 
Informatica Server rejects the record. 
Delete 
Treat all records as deletes. For each record, if the Informatica 
Server finds a corresponding record in the target table (based on the 
primary key value), the Informatica Server deletes it. Note that the 
primary key constraint must exist in the target definition in the 
repository. 
Updat 
e 
Treat all records as updates. For each record, the Informatica Server 
looks for a matching primary key value in the target table. If it 
exists, the Informatica Server updates the record. Again, the primary 
key constraint must exist in the target definition. 
Data 
Driven 
The Informatica Server follows instructions coded into Update 
Strategy transformations within the session mapping to determine 
how to flag records for insert, delete, update, or reject. 
If the mapping for the session contains an Update Strategy 
transformation, this field is marked Data Driven by default. 
If you do not choose Data Driven setting, the Informatica Server 
ignores all 
Update Strategy transformations in the mapping.
Update Strategy Settings 
setting you choose depends on your update strategy and the 
status of data in target tables: 
Setting Use To 
Insert 
Populate the target tables for the first time, or maintaining a 
historical data warehouse. In the latter case, you must set this 
strategy for the entire data warehouse, not just a select group of 
target tables. 
Delete Clear target tables. 
Update 
Update target tables. You might choose this setting whether your 
data warehouse contains historical data or a snapshot. Later, 
when you configure how to update individual target tables, you 
can determine whether to insert updated records as new records 
or use the updated information to modify existing records in the 
target. 
Data 
Driven 
Exert finer control over how you flag records for insert, delete, 
update, or reject. Choose this setting if records destined for the 
same table need to be flagged on occasion for one operation (for 
example, update), or for a different operation (for example, 
reject). In addition, this setting provides the only way you can flag 
records for reject.
Thank you 
Expecting a Response from you for free Demo

More Related Content

Viewers also liked

ZENworks Configuration Management
ZENworks Configuration ManagementZENworks Configuration Management
ZENworks Configuration ManagementRoel van Bueren
 
Biolog condtarea10
Biolog condtarea10Biolog condtarea10
Biolog condtarea10panfilo56
 
цахим монгол
цахим монголцахим монгол
цахим монголod_tsetsegmaa
 
Prescrition co-owners- pdf
Prescrition   co-owners- pdfPrescrition   co-owners- pdf
Prescrition co-owners- pdfsahib rox
 
English Catcher in the Rye - Mid unit test
English Catcher in the Rye - Mid unit testEnglish Catcher in the Rye - Mid unit test
English Catcher in the Rye - Mid unit testphychedelicmasquerade
 
Alexander Alexandrovich Belov – The greatest basketball player of all time
Alexander Alexandrovich Belov – The greatest basketball  player of all timeAlexander Alexandrovich Belov – The greatest basketball  player of all time
Alexander Alexandrovich Belov – The greatest basketball player of all timeprosvsports
 
Jini new technology for a networked world
Jini new technology for a networked worldJini new technology for a networked world
Jini new technology for a networked worldSajan Sahu
 
Exotic Orient
Exotic OrientExotic Orient
Exotic OrientRenny
 
Proposal program kreativitas mahasiswa- Penelitian
Proposal program kreativitas mahasiswa- PenelitianProposal program kreativitas mahasiswa- Penelitian
Proposal program kreativitas mahasiswa- PenelitianRenny Lidya
 

Viewers also liked (14)

ZENworks Configuration Management
ZENworks Configuration ManagementZENworks Configuration Management
ZENworks Configuration Management
 
Biolog condtarea10
Biolog condtarea10Biolog condtarea10
Biolog condtarea10
 
цахим монгол
цахим монголцахим монгол
цахим монгол
 
Prescrition co-owners- pdf
Prescrition   co-owners- pdfPrescrition   co-owners- pdf
Prescrition co-owners- pdf
 
Jft 13-desktop-optical-power-meter-jfopt
Jft 13-desktop-optical-power-meter-jfoptJft 13-desktop-optical-power-meter-jfopt
Jft 13-desktop-optical-power-meter-jfopt
 
English Catcher in the Rye - Mid unit test
English Catcher in the Rye - Mid unit testEnglish Catcher in the Rye - Mid unit test
English Catcher in the Rye - Mid unit test
 
Rescue.asd
Rescue.asdRescue.asd
Rescue.asd
 
Ts 2992
Ts 2992Ts 2992
Ts 2992
 
Hugps138
Hugps138Hugps138
Hugps138
 
Alexander Alexandrovich Belov – The greatest basketball player of all time
Alexander Alexandrovich Belov – The greatest basketball  player of all timeAlexander Alexandrovich Belov – The greatest basketball  player of all time
Alexander Alexandrovich Belov – The greatest basketball player of all time
 
Jini new technology for a networked world
Jini new technology for a networked worldJini new technology for a networked world
Jini new technology for a networked world
 
Exotic Orient
Exotic OrientExotic Orient
Exotic Orient
 
Proposal program kreativitas mahasiswa- Penelitian
Proposal program kreativitas mahasiswa- PenelitianProposal program kreativitas mahasiswa- Penelitian
Proposal program kreativitas mahasiswa- Penelitian
 
Intergenerational Networking
Intergenerational NetworkingIntergenerational Networking
Intergenerational Networking
 

More from QUONTRASOLUTIONS

Big data introduction by quontra solutions
Big data introduction by quontra solutionsBig data introduction by quontra solutions
Big data introduction by quontra solutionsQUONTRASOLUTIONS
 
Cognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsCognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsQUONTRASOLUTIONS
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutionsQUONTRASOLUTIONS
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutionsQUONTRASOLUTIONS
 
Software Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsSoftware Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsQUONTRASOLUTIONS
 
Introduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsIntroduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsQUONTRASOLUTIONS
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra SolutionsQUONTRASOLUTIONS
 
Introduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classIntroduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classQUONTRASOLUTIONS
 
Saas overview by quontra solutions
Saas overview  by quontra solutionsSaas overview  by quontra solutions
Saas overview by quontra solutionsQUONTRASOLUTIONS
 
Sharepoint taxonomy introduction us
Sharepoint taxonomy introduction   usSharepoint taxonomy introduction   us
Sharepoint taxonomy introduction usQUONTRASOLUTIONS
 
Introduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraIntroduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraQUONTRASOLUTIONS
 
Introduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIIntroduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIQUONTRASOLUTIONS
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsQUONTRASOLUTIONS
 
Obiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsObiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsQUONTRASOLUTIONS
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usQUONTRASOLUTIONS
 

More from QUONTRASOLUTIONS (20)

Big data introduction by quontra solutions
Big data introduction by quontra solutionsBig data introduction by quontra solutions
Big data introduction by quontra solutions
 
Java constructors
Java constructorsJava constructors
Java constructors
 
Cognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutionsCognos Online Training with placement Assistance - QuontraSolutions
Cognos Online Training with placement Assistance - QuontraSolutions
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutions
 
Business analyst overview by quontra solutions
Business analyst overview by quontra solutionsBusiness analyst overview by quontra solutions
Business analyst overview by quontra solutions
 
Cognos Overview
Cognos Overview Cognos Overview
Cognos Overview
 
Hibernate online training
Hibernate online trainingHibernate online training
Hibernate online training
 
Java j2eeTutorial
Java j2eeTutorialJava j2eeTutorial
Java j2eeTutorial
 
Software Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutionsSoftware Quality Assurance training by QuontraSolutions
Software Quality Assurance training by QuontraSolutions
 
Introduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutionsIntroduction to software quality assurance by QuontraSolutions
Introduction to software quality assurance by QuontraSolutions
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
Introduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training classIntroduction to j2 ee patterns online training class
Introduction to j2 ee patterns online training class
 
Saas overview by quontra solutions
Saas overview  by quontra solutionsSaas overview  by quontra solutions
Saas overview by quontra solutions
 
Sharepoint taxonomy introduction us
Sharepoint taxonomy introduction   usSharepoint taxonomy introduction   us
Sharepoint taxonomy introduction us
 
Introduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By QuontraIntroduction to the sharepoint 2013 userprofile service By Quontra
Introduction to the sharepoint 2013 userprofile service By Quontra
 
Introduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST APIIntroduction to SharePoint 2013 REST API
Introduction to SharePoint 2013 REST API
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutions
 
Obiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutionsObiee introduction building reports by QuontraSolutions
Obiee introduction building reports by QuontraSolutions
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
Qa by quontra us
Qa by quontra   usQa by quontra   us
Qa by quontra us
 

Recently uploaded

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Transformations In Informatica Presented By QuontraSolutions

  • 2. IT Courses Online Training and Placements Quontra Solutions Visit Us :http://www.QuontraSolutions.com
  • 3. Transformations • A transformation is a repository object that generates, modifies, or passes data • The Designer provides a set of transformations that perform specific functions • Data passes into and out of transformations through ports that you connect in a mapping or mapplet • Transformations can be active or passive
  • 4. Transformations • Active transformations Aggregator performs aggregate calculations Filter serves as a conditional filter Router serves as a conditional filter (more than one filters) Joiner allows for heterogeneous joins Source qualifier represents all data queried from the source • Passive transformations Expression performs simple calculations Lookup looks up values and passes to other objects Sequence generator generates unique ID values Stored procedure calls a stored procedure and captures return values Update strategy allows for logic to insert, update, delete, or reject data
  • 5. Transformations Contd..  Create the transformation. Create it in the Mapping Designer as part of a mapping, in the Mapplet Designer as part of a Mapplet, or in the Transformation Developer as a reusable transformation.  Configure the transformation. Each type of transformation has a unique set of options that you can configure.  Connect the transformation to other transformations and target definitions. Drag one port to another to connect them in the mapping or Mapplet.
  • 6. Expression Transformation You can use the Expression transformations to calculate values in a single row before you write to the target. For example, you might need to adjust employee salaries, concatenate first and last names, or convert strings to numbers. You can use the Expression transformation to perform any non-aggregate calculations. You can also use the Expression transformation to test conditional statements before you output the results to target tables or other transformations.
  • 7. Expression Transformation Calculating Values To use the Expression transformation to calculate values for a single row, you must include the following ports:  Input or input/output ports for each value used in the calculation. For example, when calculating the total price for an order, determined by multiplying the unit price by the quantity ordered, the input or input/output ports. One port provides the unit price and the other provides the quantity ordered.  Output port for the expression. You enter the expression as a configuration option for the output port. The return value for the output port needs to match the return value of the expression.  Variable Port : Variable Port is used like local variable inside Expression Transformation , which can be used in other calculations
  • 8. Source Qualifier Transformation Every mapping includes a Source Qualifier transformation, representing all the columns of information read from a source and temporarily stored by the Informatica Server. In addition, you can add transformations such as a calculating sum, looking up a value, or generating a unique ID that modify information before it reaches the target.
  • 9. Source Qualifier Transformation When you add a relational or a flat file source definition to a mapping, you need to connect it to a Source Qualifier transformation. The Source Qualifier represents the records that the Informatica Server reads when it runs a session. You can use the Source Qualifier to perform the following tasks: • Join data originating from the same source database. You can join two or more tables with primary-foreign key relationships by linking the sources to one Source Qualifier. • Filter records when the Informatica Server reads source data. If you include a filter condition, the Informatica Server adds a WHERE clause to the default query. • Specify an outer join rather than the default inner join. If you include a user-defined join, the Informatica Server replaces the join information specified by the metadata in the SQL query. • Specify sorted ports. If you specify a number for sorted ports, the Informatica Server adds an ORDER BY clause to the default SQL query. • Select only distinct values from the source. If you choose Select Distinct, the Informatica Server adds a SELECT DISTINCT statement to the default SQL query. • Create a custom query to issue a special SELECT statement for the Informatica Server to read source data. For example, you might use a custom query to perform aggregate calculations or execute a stored procedure
  • 10. Configuring Source Qualifier Transformation To configure a Source Qualifier: • In the Designer, open a mapping. • Double-click the title bar of the Source Qualifier. • In the Edit Transformations dialog box, click Rename, enter a descriptive name for the transformation, and click OK. The naming convention for Source Qualifier transformations is SQ_TransformationName,. • Click the Properties tab.
  • 11. Configuring Source Qualifier Option Description SQL Query Defines a custom query that replaces the default query the Informatica Server uses to read data from sources represented in this Source Qualifier User- Defined Join Specifies the condition used to join data from multiple sources represented in the same Source Qualifier transformation Source Filter Specifies the filter condition the Informatica Server applies when querying records. Number of Sorted Ports Indicates the number of columns used when sorting records queried from relational sources. If you select this option, the Informatica Server adds an ORDER BY to the default query when it reads source records. The ORDER BY includes the number of ports specified, starting from the top of the Source Qualifier. When selected, the database sort order must match the session sort order. Tracing Level Sets the amount of detail included in the session log when you run a session containing this transformation. Select Distinct Specifies if you want to select only unique records. The Informatica Server includes a SELECT DISTINCT statement if you choose this option.
  • 12. Joiner Transformation While a Source Qualifier transformation can join data originating from a common source database, the Joiner transformation joins two related heterogeneous sources residing in different locations or file systems. The combination of sources can be varied. You can use the following sources: • Two relational tables existing in separate databases • Two flat files in potentially different file systems • Two different ODBC sources • Two instances of the same XML source • A relational table and a flat file source • A relational table and an XML source If two relational sources contain keys, then a Source Qualifier transformation can easily join the sources on those keys. Joiner transformations typically combine information from two different sources that do not have matching keys, such as flat file sources. The Joiner transformation allows you to join sources that contain binary data.
  • 13. Creating a Joiner Transformation To create a Joiner Transformation: • In the Mapping Designer, choose Transformation-Create. Select the Joiner transformation. Enter a name for the Joiner. Click OK. The naming convention for Joiner transformations is JNR_TransformationName. Enter a description for the transformation. This description appears in the Repository Manager, making it easier for you or others to understand or remember what the transformation does. • The Designer creates the Joiner transformation. Keep in mind that you cannot use a Sequence Generator or Update Strategy transformation as a source to a Joiner transformation. • Drag all the desired input/output ports from the first source into the Joiner transformation. The Designer creates input/output ports for the source fields in the Joiner as detail fields by default. You can edit this property later. • Select and drag all the desired input/output ports from the second source into the Joiner transformation. The Designer configures the second set of source fields and master fields by default. • Double-click the title bar of the Joiner transformation to open the Edit Transformations dialog box. • Select the Ports tab. • Click any box in the M column to switch the master/detail relationship for the sources. Change the master/detail relationship if necessary by selecting the master source in the M column.
  • 14. Creating a Joiner Transformation Select the Condition tab and set the condition.
  • 15. Configuring Joiner transformation Joiner Setting Description Case-Sensitive String Comparison If selected, the Informatica Server uses case-sensitive string comparisons when performing joins on string columns. Cache Directory Specifies the directory used to cache master records and the index to these records. By default, the caches are created in a directory specified by the server variable $PMCacheDir. If you override the directory, be sure there is enough disk space on the file system. The directory can be a mapped or mounted drive. Join Type Specifies the type of join: Normal, Master Outer, Detail Outer, or Full Outer.
  • 16. Lookup Transformation • Used to look up data in a relational table, view, synonym or Flat File. • It compares Lookup transformation port values to lookup table column values based on the lookup condition. Connected Lookups • Receives input values directly from another transformation in the pipeline • For each input row, the Informatica Server queries the lookup table or cache based on the lookup ports and the condition in the transformation • Passes return values from the query to the next transformation Un Connected Lookups • Receives input values from an expression using the • :LKP (:LKP.lookup_transformation_name (argument, argument, ...)) reference qualifier to call the lookup and returns one value. • With unconnected Lookups, you can pass multiple input values into the transformation, but only one column of data out of the transformation
  • 17. Lookup Transformation You can configure the Lookup transformation to perform different types of lookups. You can configure the transformation to be connected or unconnected, cached or uncached:  Connected or unconnected. Connected and unconnected transformations receive input and send output in different ways.  Cached or uncached. 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. Informatica recommends that you cache the target table as the lookup. This enables you to look up values in the target and insert them if they do not exist.
  • 18. Diff bet Connected & Unconnected Lookup Connected lookup Unconnected lookup 1) Receives input values directly from of a the pipe line transformation. Receives input values from the result of LKP expression within other transformation. 2) U can use a dynamic or static cache U can use a static cache. 3) Cache includes all lookup columns used in the mapping. Cache includes all lookup out put ports. 4) Support user defined default values Does not support user defined default values
  • 19. Diff between Static & Dynamic Cache Static Cache Dynamic Cache 1) U can not insert or update the cache U can insert rows into the cache as u pass to the target 2) The Informatica Server does not update the cache while it processes the Lookup transformation The Informatica Server dynamically inserts data into the lookup cache and passes data to the target table.
  • 20. Update Strategy Transformation When you design your data warehouse, you need to decide what type of information to store in targets. As part of your target table design, you need to determine whether to maintain all the historic data or just the most recent changes. For example, you might have a target table, T_CUSTOMERS, that contains customer data. When a customer address changes, you may want to save the original address in the table, instead of updating that portion of the customer record. In this case, you would create a new record containing the updated address, and preserve the original record with the old customer address. This illustrates how you might store historical information in a target table. However, if you want the T_CUSTOMERS table to be a snapshot of current customer data, you would update the existing customer record and lose the original address. The model you choose constitutes your update strategy, how to handle changes to existing records. In Power Mart and Power Center, you set your update strategy at two different levels: • Within a session. When you configure a session, you can instruct the Informatica Server to either treat all records in the same way (for example, treat all records as inserts), or use instructions coded into the session mapping to flag records for different database operations. • Within a mapping. Within a mapping, you use the Update Strategy transformation to flag records for insert, delete, update, or reject.
  • 21. Setting up Update Strategy at Session Level During session configuration, you can select a single database operation for all records. For the Treat Rows As setting, you have the following options: Settin g Description Insert Treat all records as inserts. If inserting the record violates a primary or foreign key constraint in the database, the Informatica Server rejects the record. Delete Treat all records as deletes. For each record, if the Informatica Server finds a corresponding record in the target table (based on the primary key value), the Informatica Server deletes it. Note that the primary key constraint must exist in the target definition in the repository. Updat e Treat all records as updates. For each record, the Informatica Server looks for a matching primary key value in the target table. If it exists, the Informatica Server updates the record. Again, the primary key constraint must exist in the target definition. Data Driven The Informatica Server follows instructions coded into Update Strategy transformations within the session mapping to determine how to flag records for insert, delete, update, or reject. If the mapping for the session contains an Update Strategy transformation, this field is marked Data Driven by default. If you do not choose Data Driven setting, the Informatica Server ignores all Update Strategy transformations in the mapping.
  • 22. Update Strategy Settings setting you choose depends on your update strategy and the status of data in target tables: Setting Use To Insert Populate the target tables for the first time, or maintaining a historical data warehouse. In the latter case, you must set this strategy for the entire data warehouse, not just a select group of target tables. Delete Clear target tables. Update Update target tables. You might choose this setting whether your data warehouse contains historical data or a snapshot. Later, when you configure how to update individual target tables, you can determine whether to insert updated records as new records or use the updated information to modify existing records in the target. Data Driven Exert finer control over how you flag records for insert, delete, update, or reject. Choose this setting if records destined for the same table need to be flagged on occasion for one operation (for example, update), or for a different operation (for example, reject). In addition, this setting provides the only way you can flag records for reject.
  • 23. Thank you Expecting a Response from you for free Demo