sequence-ID in Dynamic Lookup

To create a generated key for a column in the target table, select  Sequence-ID in the Associated Expression column. You can associate a  generated key instead of an input port for lookup ports with the Bigint,  Integer, or Small Integer datatype. For Bigint lookup ports, the generated key  maximum value is 9,223,372,036,854,775,807. For Integer or Small Integer lookup  ports, the generated key maximum value is 2,147,483,647.

When you select  Sequence-ID in the Associated Expression column, the Integration Service  generates a key when it inserts a row into the lookup cache.

The Integration  Service uses the following process to generate sequence IDs: 

  1. When the Integration Service creates the dynamic lookup cache, it tracks the  range of values for each port that has a sequence ID in the dynamic lookup  cache. 

  2. When the Integration Service inserts a row of data into the cache, it  generates a key for a port by incrementing the greatest sequence ID value by  one.

  3. When the Integration Service reaches the maximum number for a generated  sequence ID, it starts over at one. The Integration Service increments each  sequence ID by one until it reaches the smallest existing value minus one. If  the Integration Service runs out of unique sequence ID numbers, the session  fails.

The Integration  Service generates a sequence ID for each row it inserts into the cache.

 

参考informatica的SCD Mapping Template Wizard

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值