简体   繁体   English

如何在不使用JOINER转换的情况下联接informatica中的两个表?

[英]How to join two tables in informatica without using JOINER transformation?

If we use Joiner , then it is taking to much time. 如果我们使用Joiner,那么这将花费很多时间。 We have table A and Flat file B. A table has following fields Name , DEPT, SALARY. 我们有表A和平面文件B。一个表具有以下字段Name,DEPT和SALARY。 File B has following fields NAME and DEPT. 文件B具有以下字段NAME和DEPT。 We have to match the NAME in between table and file B and update DEPT field in File B on the basis of Value of DEPT present in Table A. 我们必须在表和文件B之间匹配名称,并根据表A中存在的DEPT值更新文件B中的DEPT字段。

Table A
NAME    DEPT   SALARY
John    WSS    10000 
Micheal LSS    50000

Flat File B
NAME   DEPT
JOHN     
JOHN   
Micheal
Micheal

Output(After Updation) Table B
NAME    DEPT
JOHN    WSS
JOHN    WSS
Micheal LSS
Micheal LSS

There is some ways to improve the performance in your case: 有一些方法可以提高您的案例的性能:

  1. In case both of your tables are located in same data base, you have to implement your join inside Source Qualifier. 如果两个表都位于同一数据库中,则必须在Source Qualifier中实现联接。 It's a most effective way. 这是最有效的方法。

  2. In case you want to use joiner transformation, you have verify, that the smallest input (smallest table) is marked as Master. 如果要使用联接器转换,请确保已将最小输入(最小表)标记为Master。 It's also worth to sort the input and check "Sorted Input" option in your joiner transformation. 还值得对输入进行排序,并在细木工转换中选中“排序的输入”选项。

first import ur flat file b as a source 首先导入ur平面文件b作为源

Flat File B
NAME   DEPT
JOHN     
JOHN   
Micheal
Micheal

then You need to use Lookup transformation on table A 那么您需要在表A上使用Lookup转换

Table A
NAME    DEPT   SALARY
John    WSS    10000 
Micheal LSS    50000

drag the name column source to look up transformation and check the look up condition table A name and flat file name name=name then drag name and dept in expression transformation then target 拖动名称列源以查找转换并检查查找条件表A名称和平面文件名name=name然后在表达式转换中拖动名称和部门然后目标

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不使用信息中的Joiner Transformation的情况下从多个来源将数据传输到目标表? - How to transfer data to the target table from multiple sources without using Joiner Transformation in informatica? Informatica映射:Joiner必须恰好具有两个输入 - Informatica Mapping: Joiner must have exactly two inputs 将两个表与Informatica结合 - Combine two tables with Informatica 如何使用Informatica中的表达式转换将字符串转换为数字? - How to convert string into number using expression transformation in informatica? 使用Informatica连接位于不同数据库中的多个表 - Join multiple tables located in different databases using Informatica Informatica SQL 转换中的联接查询失败 - Join query failing in Informatica SQL transformation 如何使用筛选器转换筛选informatica中的日期数据类型数据? - how to filter date datatype data in informatica using filter transformation? 如何使用转换将这两条记录合并到一行中,删除 Informatica 中的 Null 值。 请查看场景快照 - How to merger these two records ino one row removing Null value in Informatica using transformation. Please see the snapshot for scenario 连接器转换查询 - joiner transformation query 如何为 IICS 中包含大记录的 Joiner Transformation 选择 Master 和 Detail? - How to select Master and Detail for Joiner Transformation containing large records in IICS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM