The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations and helps to reduce the average time to access memory. Adeptia Suite version 6.0 or later enables you to cache the Java Database Objects (JDO). For this, you need to enable caching, which is disabled, by default. Enabling caching in Adeptia Suite provides the following advantages:
- Improves the performance of the application by serving user with cached output.
- Decreases server round trips for fetching data from database by persisting data in the memory.
- Reduces overhead from server resources.
In addition, Adeptia Suite enables you to set the following parameters:
- Maximum number of elements that can be cached. By default, the value is 5000 number of elements.
- Minimum idle time in seconds. By default, the value is 7200 seconds.
- Maximum time in seconds an object can stay in cache. By default, the value is 86400 seconds.
Steps to enable JDO Caching and set cache parameters
On the Adminster tab, go to Setup > Application Settings > Update System Properties.
Expand Performance Optimization > Caching > JDO.
Set the value in the below properties:
Property Name Description Default Value abpm.jdo.cache.enable To enable JDO cache no abpm.jdo.cache.maxElementsinMemory Maximum number of elements to be held in memory 5000 abpm.jdo.cache.idleTime abpm.jdo.cache.timetoLive - Click Save.
- Click Reload configuration.
- Restart the server for the changes to take effects.