Result set caching enables the Data Integration Service to use cached results for SQL data service queries and web service requests. Users that run identical queries in a short period of time may want to use result set caching to decrease the runtime of identical queries.
When you configure result set caching, the Data Integration Service caches the results of the DTM process associated with each SQL data service query and web service request. The Data Integration Service caches the results for the expiration period that you configure. When an external client makes the same query or request before the cache expires, the Data Integration Service returns the cached results.
The Result Set Cache Manager creates in-memory caches to temporarily store the results of the DTM process. If the Result Set Cache Manager requires more space than allocated in the result set cache properties, it stores the data in encrypted cache files. The files are saved at
Complete the following steps to configure result set caching for SQL data services and web service operations:
Configure the result set cache properties in the Data Integration Service process properties.
Configure the cache expiration period in the SQL data service properties.
Configure the cache expiration period in the web service operation properties. If you want the Data Integration Service to cache the results by user, enable WS-Security in the web service properties.
The Data Integration Service purges result set caches in the following situations:
When the result set cache expires, the Data Integration Service purges the cache.
When you restart an application or run the
infacmd dis
purgeResultSetCache command, the Data Integration Service purges the result set cache for objects in the application.
When you restart a Data Integration Service, the Data Integration Service purges the result set cache for objects in applications that run on the Data Integration Service.
When you change the permissions for a user, the Data Integration Service purges the result set cache associated with that user.