To enable caching for an object, stop the application that contains the logical data object or virtual table, edit the object properties, and restart the application.
In the Administrator tool, click the Manage tab > Services and Nodes view.
In the Domain Navigator, select the Data Integration Service.
Click the
Applications
view.
Select the application that contains the logical data object or virtual table for which you want to enable caching.
Stop the application.
Expand the application, and select the logical data object or virtual table.
In the
Logical Data Object Properties
or
Virtual Table Properties
area, click
Edit
.
The
Edit Properties
dialog box appears.
Select
Enable Caching
.
In the
Cache Refresh Period
property, enter the amount of time in minutes that the Data Object Cache Manager waits before refreshing the cache.
For example, if you enter 720, the Data Object Cache Manager refreshes the cache every 12 hours. If you leave the default value of zero, the Data Object Cache Manager does not refresh the cache according to a schedule. You must manually refresh the cache using the infacmd dis RefreshDataObjectCache command.
Leave the
Cache Table Name
property blank.
When you enter a table name, the Data Object Cache Manager does not manage the cache for the object. Enter a table name only when you want to use a user-managed cache table. A user-managed cache table is a table in the data object cache database that you create, populate, and manually refresh when needed.
Click
OK
.
To generate indexes on the cache table based on a column, expand the logical data object or virtual table.
Select a column, and then click
Edit
in the
Logical Data Object Column Properties
or
Virtual Table Column Properties
area.
The
Edit Column Properties
dialog box appears.
Select
Create Index
and then click
OK
.
Restart the application.
The Data Object Cache Manager creates and populates the cache table.