The Integration Service allocates cache memory for XML targets and Aggregator, Joiner, Lookup, Rank, and Sorter transformations in a mapping. The Integration Service creates index and data caches for the XML targets and Aggregator, Joiner, Lookup, and Rank transformations. The Integration Service stores key values in the index cache and output values in the data cache. The Integration Service creates one cache for the Sorter transformation to store sort keys and the data to be sorted.
You configure memory parameters for the caches in the session properties. When you first configure the cache size, you can calculate the amount of memory required to process the transformation or you can configure the Integration Service to automatically configure the memory requirements at run time.
After you run a session, you can tune the cache sizes for the transformations in the session. You can analyze the transformation statistics to determine the cache sizes required for optimal session performance, and then update the configured cache sizes.
If the Integration Service requires more memory than what you configure, it stores overflow values in cache files. When the session completes, the Integration Service releases cache memory, and in most circumstances, it deletes the cache files.
If the session contains multiple partitions, the Integration Service creates one memory cache for each partition. In particular situations, the Integration Service uses cache partitioning, creating a separate cache for each partition.
The following table describes the type of information that the Integration Service stores in each cache:
Mapping Object
Cache Types and Descriptions
Aggregator
Index. Stores group values as configured in the group by ports.
Data. Stores calculations based on the group by ports.
Joiner
Index. Stores all master rows in the join condition that have unique keys.
Data. Stores master source rows.
Lookup
Index. Stores lookup condition information.
Data. Stores lookup data that is not stored in the index cache.
Rank
Index. Stores group values as configured in the group by ports.
Data. Stores ranking information based on the group by ports.
Sorter
Sorter. Stores sort keys and data.
XML Target
Index. Stores primary and foreign key information in separate caches.
Data. Stores XML row data while it generates the XML target.