sequence-ID in Dynamic Lookup

原创 2015年07月07日 15:35:23

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

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Informatica Dynamic Lookup Cache

  • 2012-02-08 14:04
  • 889KB
  • 下载

C#4.0新特性(1):Dynamic Lookup 动态查找

原文转自:C#4.0新特性(1):Dynamic Lookup 动态查找 C# 4.0的主要主题是动态编程。对象的意义变得越来越“动态”,它们的结构和行为无法通过静态类型来捕获,或者...

booting sequence in linux

  • 2013-11-08 18:55
  • 119KB
  • 下载

dynamic_cast < type-id > ( expression )

用法 本文引用于http://baike.baidu.com/link?url=Ao6yji5MV3UYwKzeEa1d33e5FrNNyOBagjz4EXcVQpKIdxllaTE51d-N0lAn...

Hibernate注解映射sequence时出现无序增长问题+hibernate 映射 oracle ID自动增长

通过Hibernate注解的方式映射oracel数据库的sequence主键生成器时,出现增加数据时sequence无序增长的问题,配置如下 @SequenceGenerator(name = "S...

作业七-ID-1050-Problem B: Sequence Problem : Array Practice

题目: *******************************************************************************************...

作业七-ID-1052-Problem D: Sequence Problem (III) : Array Practice

Problem D: Sequence Problem (III) : Array Practice题目描述: 解题思路: 依然要注意奇偶情况以及最后一次的情况。 与前两题不同,这一个题是每...

Hibernate学习-用oracle sequence序列生成ID的配置示例

TMP_EMP中的ID是根据序列SQ_TMP_EMP来生成的,需要在TmpEmp.hbm.xml中设置:              SQ_TMP_EMP   ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)