Tuning: Data Caches

Definition

System configuration settings that relate to the data cache settings in the instances of your running SAP CC system.

Description

This group includes all the system parameters and indicators concerning the cache configuration settings in the instances of the runninng SAP CC Core Server system:

  • reserved memory for the different data caches
  • organization of some caches
  • data compression
  • invalidation
  • cache warm-up settings

The group provides the indicators to view and inspect the data caches in the SAP CC system instances:

  • status of the data caches
  • remaining free memory
  • cache refresh

Consider the following data caches (as cache classes):

  • Provisioning data (technical name: SUBSCRIPTION CACHE)
  • Guiding data (technical name: GUIDING CACHE)
  • Charging session data (technical name: SESSION CACHE) and subcaches
  • Charging session history

The functions associated to each class of cache depends on the type of the instance that manages the data cache.

Tip

You can monitor the internal activities of the SAP CC cache warm-ups, see the Warm-Up metric node.

System Configuration (Advanced): Tuning

During the Project Implementation Phase, you fine-tune the configuration settings in your running SAP CC Core Server systems. You complete the following activities:

  • Determine the relevant values by applying some recommendations, guidelines, or procedures
  • Validate and test the possible values
  • Apply the changes in the production SAP CC system (or quality assurance system)
  • Monitor the behavior of the system after the restart

During the Production Operation Phase, you may adapt the configuration and fine-tune the SAP CC system again.


See also:

Setting Up or Viewing System Parameters

You can set up or view the following system parameters that are available for different instance types in the running SAP CC Core Server system.

Parameter Definition
CACHE_COMPRESSION The enablement or disablement of the data compression in the caches
CACHE_INVALIDATION_TIMEOUT The timeout in milliseconds for waiting acknowledgments for a cache invalidation request from all the system instances except the updater
CACHE_WARMUP_THREAD_COUNT The number of threads reserved for processing the cache warm-up
GUIDING_CACHE_INSTANCES The maximum number of subcaches for the guiding cache
GUIDING_CACHE_SIZE The total memory size reserved for caching guiding information into each guider instance
GUIDING_ENTRY_AVERAGE_SIZE The average memory size allocated for one entry (values and key) in the guiding cache
REFRESH_SCHEDULER_ENABLED The enablement or disablement of the scheduler iresponsible for the offer cache switching
REFRESH_SCHEDULER_RECURRENCE The recurrence period of the scheduler in charge of refreshing the offer cache
SESSION_AVG_ID_SIZE The average memory size allocated for one rating session ID
SESSION_AVG_NB_PER_HISTORY The average number of sessions per subscriber
SESSION_AVG_OBJECT_SIZE The average memory size allocated for one charging session
SESSION_MEMORY_INSTANCES The maximum number of subcaches for the session cache
SESSION_MEMORY_SIZE The memory reserved for charging sessions into each rater instance
SESSION_SERIALIZATION_FORMAT The format of the session data serialization
SUBSCRIPTION_CACHE_INSTANCES The maximum number of subcaches for the provisioning cache
SUBSCRIPTION_CACHE_SIZE The total memory size reserved for caching provisioning data
SUBSCRIPTION_OBJECT_AVERAGE_SIZE The average memory size allocated for one data object in the provisioning cache

Notes

  • Use the set command of the SAP CC Admin+ user interface to change the parameter values. The immediate change may be not possible and a restart is necessary. Consult the details for each parameter.
  • Use the get command to retrieve the parameter values manually.
  • Use the SAP CC Config Tool user interface to set up a complete or partial list of system parameters (restart needed).

Viewing and Inspecting Indicators

You can retrieve the runtime values of the following indicators in your running SAP CC Core Server system:

Indicator Definition
GUIDING_CACHE_CONSISTENCY Do not use this indicator, except under SAP Support Team supervision or under specific recommendation provided within the SAP CC documentation
GUIDING_CACHE_FREE_MEMORY The remaining free memory into the guiding cache
GUIDING_CACHE_STATUS The status of the guiding cache
REFRESH_LAST_TRIGGER The last date when the offer cache refresh has been triggered
REFRESH_SCHEDULER_LAST_TRIGGER The last date when the offer cache refresh has been triggered by the scheduler
SESSION_CONSISTENCY Do not use this indicator, except under SAP Support Team supervision or under specific recommendation provided within the SAP CC documentation
SESSION_FREE_MEMORY The remaining free memory of the charging session cache
SESSION_HISTORY_CONSISTENCY Do not use this indicator, except under SAP Support Team supervision or under specific recommendation provided within the SAP CC documentation
SESSION_HISTORY_FREE_MEMORY The remaining free memory of the session history cache
SESSION_HISTORY_MEMORY_SIZE The memory reserved for charging session histories into each rater instance
SESSION_HISTORY_STATUS The status of the session history cache
SESSION_STATUS The status of the session cache
SUBSCRIPTION_CACHE_CONSISTENCY Do not use this indicator, except under SAP Support Team supervision or under specific recommendation provided within the SAP CC documentation
SUBSCRIPTION_CACHE_FREE_MEMORY The remaining free memory into the provisioning cache
SUBSCRIPTION_CACHE_STATUS The status of the provisioning data cache

Note

Use the get command of the SAP CC Admin+ user interface to retrieve the indicator values manually.

Recommendation

SAP recommends that you implement and use SAP Solution Manager in combination with the CA Introscope technology and infrastructure to improve your experience.

SAP delivers a packaged and customized version, CA Introscope for SAP, for an efficient technical monitoring of the SAP CC systems in the system landscape.

Refer to the SAP CC Operations Guide for more information about the following elements:

  • getting started with CA Introscope for SAP CC
  • installation and setup of supportability tools
  • technical and performance monitoring

See also: Consult the SAP CC Metric Reference and Performance Troubleshooting documentation for more information about the performance and health data that you can monitor or use for your troubleshooting operations and root cause analysis.