I'm new to Informatica....What is the difference between Joiner and Union Transformation? Also, Should we use Router instead of Joiner, to increase performance when there are multiple sources?
Joiner
Using joiner we can remove duplicate rows
Joiner can be Normal,Right Outer,Left Outer,Full Outer Join
In Joiner we have one input group and one output group
Joiner implemented by using Joiner Transformation in Informatica.
Joiner Transformation combines data record horizontally based on a join condition
Joiner Transformation combines data record horizontally based on a join condition
Union
Union will not remove duplicate rows
Union is equlivalent to UNION ALL in SQL
In Union we have multiple input groups and one output group.
Union implemented by using Union Transformation in Informatica
Union Transformation combines data record vertically from multiple sources
Union also supports hetregenous(different sources)
Now, Router transformation is an active and connected transformation. It is similar to the filter transformation used to test a condition and filter the data. In a filter transformation, you can specify only one condition and drops the rows that do not satisfy the condition. Where as in a router transformation, you can specify more than one condition and provides the ability for route the data that meet the test condition. Use router transformation if you need to test the same input data on multiple conditions.
So, when the data is coming from muliple sources you can use Router to route values accordingly. It will increase your performance and save time too.