You configure the cache size for an XML target in the target or session properties. By default, cache size is set to “auto.” The Integration Service determines the required amount of cache memory at run-time.
You can also configure the cache size and specify the amount of cache memory in bytes. Complete the following steps to calculate the cache size:
Estimate the number of rows in each group.
Use the following formula to calculate the cache size for each group:
Group cache size = Data cache size + Primary key index cache size + Foreign key index cache size
Use the following formula to calculate the total cache size:
Total cache size = Sum(Cache size of all groups)
The following equation shows how to calculate the size of the data cache for a group:
(Number of rows in a group) x (Row size of the group)
The following equation shows how to calculate the size of the primary key tree size for a group:
(Number of rows in a group) x (Primary key index cache size)
The following equation shows how to calculate the size of the foreign key tree size for a group:
Sum ((Number of rows in parent group) x (Foreign key index cache size))
You cannot use the cache calculator to configure the cache size for an XML target.