Table of Contents

Search

  1. Preface
  2. Analyst Service
  3. Content Management Service
  4. Data Integration Service
  5. Data Integration Service Architecture
  6. Data Integration Service Management
  7. Data Integration Service Grid
  8. Data Integration Service Applications
  9. Metadata Manager Service
  10. Model Repository Service
  11. PowerCenter Integration Service
  12. PowerCenter Integration Service Architecture
  13. High Availability for the PowerCenter Integration Service
  14. PowerCenter Repository Service
  15. PowerCenter Repository Management
  16. PowerExchange Listener Service
  17. PowerExchange Logger Service
  18. SAP BW Service
  19. Search Service
  20. System Services
  21. Test Data Manager Service
  22. Web Services Hub
  23. Application Service Upgrade
  24. Application Service Databases
  25. Connecting to Databases from Windows
  26. Connecting to Databases from UNIX
  27. Updating the DynamicSections Parameter of a DB2 Database

Result Set Caching

Result Set Caching

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
<Domain_install_dir>/tomcat/bin/disTemp/<Service_Name>/<Node_Name>/
. Do not rename or move the cache files.
Complete the following steps to configure result set caching for SQL data services and web service operations:
  1. Configure the result set cache properties in the Data Integration Service process properties.
  2. Configure the cache expiration period in the SQL data service properties.
  3. 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.