Joiner和Union Transformation之间的区别

时间:2013-11-27 13:00:54

标签: informatica informatica-powercenter

我是Informatica的新手...... Joiner和Union Transformation有什么区别?另外,我们应该使用Router而不是Joiner,以便在有多个源时提高性能吗?

2 个答案:

答案 0 :(得分:5)

<强>木

  1. 使用joiner我们可以删除重复的行

  2. Joiner可以是Normal,Right Outer,Left Outer,Full Outer Join

  3. 在Joiner中,我们有一个输入组和一个输出组

  4. 通过在Informatica中使用Joiner Transformation实现Joiner。

  5. Joiner Transformation基于a水平组合数据记录 加入条件

  6. Joiner Transformation基于a水平组合数据记录 加入条件

  7. <强>联盟

    1. Union不会删除重复的行

    2. Union与SQL中的UNION ALL等效

    3. 在Union中,我们有多个输入组和一个输出组。

    4. 通过在Informatica中使用Union Transformation实现联盟

    5. Union Transformation从多个垂直组合数据记录 来源

    6. Union也支持hetregenous(不同来源)

    7. 现在,路由器转换是活动连接转换。它类似于用于测试条件和过滤数据的过滤器转换。在过滤器转换中,您只能指定一个条件并删除不满足条件的行。在路由器转换中,您可以指定多个条件,并提供路由满足测试条件的数据的能力。如果需要在多个条件下测试相同的输入数据,请使用路由器转换。

      因此,当数据来自多个来源时,您可以使用路由器相应地路由值。它会提高你的表现并节省时间。

答案 1 :(得分:0)

Joiner   
1.For two sources to be joined there must be at least a common column between those two with
  same data types based on which it can be joined.
2.Horizontal merging of Sources can be done.
3.Types are a.Normal
            b.Left Outer
            c.Right Outer
            d.Full outer
4.At a single time can join two sources at most.
5.Avoids duplicates if join condition is correct.

Union
1.In Union all the columns of the two sources must have similar data types
  and Number of columns of source1 must be equal to no of columns in source2.
2.Vertical merging of Sources are done.
3.Does not have any types.
4.At a single time as many sources can be there.
5.As it is equal to Union all in SQL,So can have duplicates also.
相关问题