cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to raise the size of the memory cache ?

SAPSupport
Employee
Employee
0 Likes
458

Hi SAP Experts,

According to note 2470310, the log for successful messages is kept in memory cache. But since we have higher message throughput in our prod system (POP), the logs don't stay there very long anymore (compared to a year ago).

1- Do you know if it's possible to adjust (raise) the size of this cache?
2- Or, if we raise the total memory size of this system, would the size of this cache, where successful message logs are kept, be bigger too?
 Our Goal is to have these logs of successful messages to be available a bit longer.

Regards,

David.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Likes

Question 1:  Do you know if it's possible to adjust (raise) the size of this cache?

  • For Synchronous messages:  
    The property to increase the number of synchronous message headers kept in memory is the following: 
    messaging.syncMessageRemover.messageCount (NWA -> Java System Properties -> Services ->XPI Service: Messaging System ) 
    Properties Related to Synchronous Messages | SAP Help Portal  
    "The synchronous-message-remover job checks how many messages are in final state and could be completely removed from memory.  
    Then it removes the oldest synchronous message headers until a maximum number of message headers are left in memory, as configured by the messageCount property" 
     
  • For asynchronous messages: We don't have a parameter that can be maintained in order  to keep more messages for longer time in the memory 
    Further more if you need to keep the audit logs for longer time periods the best option will b to enable the audit log persistency via: 
    messaging.auditLog.memoryCache -> false , but you need to fine tune your system and monitor your database and you reorganization process to not cause performance issue and overload the database. Please check the following SAP Note for the same: 
    KBA: 2470310 - PI message log is not available for successful messages

Question 2:  Or, if we raise the total memory size of this system, would the size of this cache, where successful message logs are kept, be bigger too?

You can consider also increasing the memory of the system and this may help increasing the memory cache but we are not sure how much the cache will be increased because it is related to many factors.

Please see also:

  • SAP KBA: 1872758 - How PI/PO messages are persisted in Adapter Engine
  • KBA: 2470310 - PI message log is not available for successful messages
  • SAP Note: 1982452 - Audit Logs for successful synchronous messages with log versions to be persisted/archived if audit log memory cache is disabled

Regards

SAP Support

Answers (0)