performanceSettings.xml
To configure the record cache create the file performanceSettings.xml in the .. \sys directory.
Example:
<PerformanceSettings>
<RefreshCycle min='1' />
<DumpCycle min='1' />
<RecordCache>
<CacheTypes>
<CacheType id='1' cache='low' maxSize='2000' maxRecs='100' reloadInMin='30'
checkInMin='2'/>
</CacheTypes>
<GlobalCache>
<Table code='FI' cacheType='1' cacheNo='1' />
</GlobalCache>
<SessionCache>
</SessionCache>
<Not>
<Table code='KA'/>
</Not>
</RecordCache>
</PerformanceSettings>
Syntax:
The following settings are available:
<RefreshCycle min='1' />
By default, the system checks for changes of the perfomanceSettings.xml file once a minute. Use this tag to define the refresh cycle in minutes.
<DumpCycle min='1' />
By default, in debug mode once a minute the current state of the cache is written to the ..\system\u8.log file. Use this tag to set a different dump frequency in minutes.
<CacheTypes>
Use the <CacheTypes>
node to define a set of parameters as a cache type to be referenced by your global or session cache definitions (s. below).
<CacheType id='1' flags='9' cache='low' maxSize='2000' maxRecs='100' reloadInMin='30'
checkInMin='2'/>
Available attributes:
id
: Used to reference the cache type.
cache
: Indicates what is cached:low
: Only references are cached.medium
: References and FetchId() operations performed by Aurea CRM web are cached.high
: In addition to the above LoadReadRec() operations performed by CRM.core are cached.
maxSize
: Determines the size of the cache in Bytes.
maxRecs
: Determines the size of the cache in no. of records.
If the defined maxSize
or maxRecs
are exceeded, the least recently used records are deleted from the cache.
reloadInMin
: Determines the time span after which a record is reloaded.
checkInMin
: Determines if a cached record is still valid, i.e. time span after which the system checks if the record was updated. This setting applies only for cache='medium'
| 'high'
.
<GlobalCache>
Use the <GlobalCache>
node, to define one or more global caches (mixed and single).
<Table code='FI' cacheType='1' cacheNo='1' />
Available attributes:
-
Table code
: The info area to be cached. -
cacheType
: The cache type to be used. -
cacheNo
(optional): Defines an info area-independent (mixed) cache.
<SessionCache>
Use the <SessionCache>
node, to configure the local record cache (mixed).
Available attributes: Table code
and cacheType
.
<Not>
Use the <Not>
node to exclude info areas from being cached.
Table code