cancel
Showing results for 
Search instead for 
Did you mean: 

Clear icm cache

Former Member
0 Kudos

hi,

Do you know if there is way like a command or anything else i can configure on the hana in order to clear icm cache without restarting the HANA?

Thank you,

Hani

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You shouldn't really have to clear the ICM cache because it shouldn't be caching in the first place. In your sapwebdisp.pfl the server cache line should be commented out:

 

#icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=$(DIR_INSTANCE)/wdisp/cache

There is some situation with very old HANA systems that were upgraded in place where this line is incorrectly still active.  You should comment it out however.  Its not expected nor necessary that the ICM should cache in HANA.

Former Member
0 Kudos

Hi,

thank you for your answer.

Internally use (development in sap) - do you think there is a case/ test scenario that make sense to activate the icm cache?

thank you,

Hani

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

No, I don't know of any.  The reason it was disabled was it was redundant. No reason to cache in the ICM when the contents are stored in an in memory table in the HANA Repository already.

Former Member
0 Kudos

Hi Thomas,

Thanks for you comments.

In spite of the assumption that fetching resources from the in-memory db is faster then from icm cache,

in many scenarios the opposite is correct.Kindly refer to the below thread:

https://community.wdf.sap.corp/message/404421#404421

In addition, AFAIK real customers will be encouraged to use ICM cache.

kind regards,

sasha