When you configure a dynamic lookup cache, you can create a generated key for a field in the target object.
To create a generated key for a field in the target object, map the Sequence-ID field to a lookup cache field on the
Field Mapping
tab. You can map the Sequence-ID field instead of an incoming field to lookup cache fields with the integer or Bigint data type. For integer lookup fields, the generated key maximum value is 2,147,483,647. For Bigint lookup fields, the generated key maximum value is 9,223,372,036,854,775,807.
When you map the Sequence-ID field,
Data Integration
generates a key when it inserts a row into the lookup cache.
Data Integration
uses the following process to generate sequence IDs:
When
Data Integration
creates the dynamic lookup cache, it tracks the range of values for each field that has a sequence ID in the dynamic lookup cache.
When
Data Integration
inserts a row of data into the cache, it generates a key for a field by incrementing the greatest sequence ID value by one.
When
Data Integration
reaches the maximum number for a generated sequence ID, it starts over at one.
Data Integration
increments each sequence ID by one until it reaches the smallest existing value minus one. If
Data Integration
runs out of unique sequence ID numbers, the mapping task fails.
Data Integration
generates a sequence ID for each row it inserts into the cache.