Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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 

  1. On the Adminster tab, go to Setup > Application Settings > Update System Properties.

     

  2. Expand Performance Optimization > Caching > JDO.

  3. Set the value in the below properties: 

    Property NameDescriptionDefault Value
    abpm.jdo.cache.enableTo enable JDO cacheno
    abpm.jdo.cache.maxElementsinMemoryMaximum number of elements to be held in memory5000
    abpm.jdo.cache.idleTimeTime in seconds before an object in the cache expires if it is not accessed7200
    abpm.jdo.cache.timetoLiveTime in seconds from the point of creation in the cache till it expires (regardless of how frequently it is accessed in that time)86400

     

  4. Click Save.
  5. Click Reload configuration.
  6. Restart the server for the changes to take effects.
  • No labels